Coroutines are the best programming technique I've learned since delegates (for game dev)
-
-
@increpare@docky you can also yield break; to exit. But I think the return is just to satisfy C#'s clarity principle -
@MattThorson@docky is that principle a thing, or have you just made it up? :P Internet returns nothing. - 3 more replies
New conversation -
-
-
@increpare@docky ie yield isn't different from return, it's a modifier on a return -
@MattThorson@docky@increpare yield stores the location that the coroutine returns to... return doesn't? should have one or the other.
End of conversation
New conversation -
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.