Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IEnumerator WaveController () {
- yield return new WaitForSeconds (1);
- yield return Wave01 ();
- Debug.Log ("wave 01 done");
- }
- IEnumerator Wave01 () {
- SomeCode();
- SomeYieldInstruction();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement