c# coroutines
Using the DimeRocker API in c# requires a lot of coroutines. I'm starting to get the hang of them and I feel the Post Score example could be improved. It says:
StartCoroutine( drClient.leaderboard.PostScore( leaderboardId, localUser.GetId(), newScore, new ArrayList(), 0, 0 ) );
// Wait for PostScore to complete before fetching the record
yield return new WaitForSeconds(2);
Now just waiting 2 seconds is unreliable. Isn't it far easier and more reliable to use:
yield return StartCoroutine( drClient.leaderboard.PostScore( leaderboardId, localUser.GetId(), newScore, new ArrayList(), 0, 0 ) );
your welcome. By the way, should I use the forum for feedback or PM or email?
Feel free to use any of those methods.
Using the forum is good because we are trying to kick some life into it. That said don't hesitate to email us if you need something.


Yes, thanks for catching that. That was an line from an older script which I'm embarrassed to used. I'll update the example.