Unity3D總結記錄(七) Unity中延時和協程處理

Unity C#腳本編寫過程當中,如遇到須要延遲執行的程序可以使用以下語句:函數 yield return new WaitForSeconds(waitTime); 協程 具體使用方法以下:it using System.Collections; using System.Collections.Generic; io using UnityEngine;yield void Start(){b
相關文章
相關標籤/搜索