使用協(xié)程延后時間
StartCoroutine("startTrack");
IEnumerator startTrack() {
Debug.Log("START TRACK");
yield return new WaitForSeconds(5.0f);
}
StartCoroutine("startTrack");
IEnumerator startTrack() {
Debug.Log("START TRACK");
yield return new WaitForSeconds(5.0f);
}