Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@neruca
Last active January 11, 2016 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neruca/dff7c6442aa9cdf2c10b to your computer and use it in GitHub Desktop.
Save neruca/dff7c6442aa9cdf2c10b to your computer and use it in GitHub Desktop.
Unity Coroutine Example 3-2
IEnumerator Start () {
Debug.Log ("CountStart !!");
StartCoroutine (CountFrame1To5 ());
StartCoroutine (CountFrame301To308 ());
yield return CountFrame1To5 ();
yield return CountFrame301To308 ();
StartCoroutine (CountFrame201To205 ());
Debug.Log ("CountEnd !!");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment