Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IEnumerator MyCoroutine() {
- foreach (Type thing in List) {
- DoSomething (thing);
- if (List.Count % 3 == 0) {
- yield return 0;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement