Advertisement
LittleAngel

Asynch example

Nov 9th, 2011
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. IEnumerator MyCoroutine() {
  2. foreach (Type thing in List) {
  3. DoSomething (thing);
  4. if (List.Count % 3 == 0) {
  5. yield return 0;
  6. }
  7. }
  8. }
  9.  
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement