Skip to content

Instantly share code, notes, and snippets.

@neruca
Last active January 11, 2016 12:24
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/08c216ce2ed0d4772d43 to your computer and use it in GitHub Desktop.
Save neruca/08c216ce2ed0d4772d43 to your computer and use it in GitHub Desktop.
Unity Coroutine Example 3-3
IEnumerator Start () {
Debug.Log ("CountStart !!");
StartCoroutine (CountFrame1To5 ());
StartCoroutine (CountFrame301To308 ());
yield return StartCoroutine (CountFrame1To5 ());
yield return StartCoroutine (CountFrame301To308 ());
StartCoroutine (CountFrame201To205 ());
Debug.Log ("CountEnd !!");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment