Unity Coroutine Example 2
using UnityEngine; | |
using System.Collections; | |
public class CoroutineTest : MonoBehaviour { | |
IEnumerator Start () { | |
Debug.Log ("CountStart !!"); | |
yield return StartCoroutine (CountFrame1To5 ()); | |
StartCoroutine (CountFrame201To205 ()); | |
Debug.Log ("CountEnd !!"); | |
} | |
// 以下、処理内容同じため省略 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment