Coroutines are the best programming technique I've learned since delegates (for game dev)
-
-
Replying to @MattThorson
@MattThorson it's basically an accident that you can do it in c# ( they're way nicer in unityscript, where they've been designed in)1 reply 0 retweets 0 likes -
Replying to @increpare
@increpare the way unity does them with C# is a bit weird. They were definitely designed with asynchronous actions in mind though!2 replies 0 retweets 0 likes -
Replying to @MattThorson
@MattThorson I don't think I've ever seen a unity developer write a container/iterator class with IEnumerators :P3 replies 0 retweets 0 likes -
Replying to @increpare
@increpare unity does a lot of weird things, like using strings and reflection instead of delegates (it must cache function names?)2 replies 0 retweets 0 likes -
Replying to @MattThorson
@MattThorson@increpare then again, if you want to leave the warm safety of the type system, you can do it with duck typing now.1 reply 0 retweets 0 likes -
Replying to @v21
@v21@mattthorson oh, didn't know it supported the dynamic keyword yet; nice :) now we just need anonymous types to complement them2 replies 0 retweets 0 likes -
Replying to @increpare
@increpare@MattThorson Hang on, I think I might be lying. Not sure if "dynamic" is actually supported. :/2 replies 0 retweets 0 likes
@v21 @MattThorson oh it does both dynamic stuff and anonymous types, great :D http://pastebin.com/QdRvLbmS
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.