Unity3D開啓協程倒計時

代碼以下: IEnumerator cutTime(float timer) { while (timer >-1) { yield return new WaitForSeconds(1); Debug.Log(timer); if (timer == 0)
相關文章
相關標籤/搜索