WaitForSecondsRealtime
public WaitForSecondsRealtime(float time);. Description. Creates a yield instruction to wait for a given number of seconds using unscaled time. ,if (waitForSecondsRealtime == null) waitForSecondsRealtime = new WaitForSecondsRealtime(waitTime); else waitForSecondsRealtime.waitTime = waitTime ... ,Constructors. WaitForSecondsRealtime, Creates a yield instruction to wait for a given number of seconds using unscaled time. Inherited Members ... , IEnumerator Example() print(Time.realtimeSinceStartup); yield return new WaitForSecondsRealtime(5); print(Time.realtimeSinceStartup); },使用未缩放时间将协同程序执行暂停指定的秒数。
相關軟體 Unity 資訊 | |
---|---|
Unity 是一個遊戲開發生態系統:一個強大的渲染引擎完全集成了一整套直觀的工具和快速的工作流程來創建交互式的 3D 和 2D 內容; 輕鬆的多平台發布; 成千上萬的質量,在資源商店和知識共享 community.For 獨立開發者和工作室,Unity&rsquo 的現成的資產; S 民主化生態系統摔破的時間和成本障礙,創造獨特的美麗的遊戲。他們使用 Unity 打造民生做他們喜歡的事情:創建遊戲... Unity 軟體介紹
WaitForSecondsRealtime 相關參考資料
Scripting API: WaitForSecondsRealtime ... - Unity
public WaitForSecondsRealtime(float time);. Description. Creates a yield instruction to wait for a given number of seconds using unscaled time. https://docs.unity3d.com Scripting API: WaitForSecondsRealtime.waitTime - Unity
if (waitForSecondsRealtime == null) waitForSecondsRealtime = new WaitForSecondsRealtime(waitTime); else waitForSecondsRealtime.waitTime = waitTime ... https://docs.unity3d.com Unity - Scripting API: WaitForSecondsRealtime - Unity - Manual
Constructors. WaitForSecondsRealtime, Creates a yield instruction to wait for a given number of seconds using unscaled time. Inherited Members ... https://docs.unity3d.com Unity Coroutine 使用筆記 - 思元的開發筆記
IEnumerator Example() print(Time.realtimeSinceStartup); yield return new WaitForSecondsRealtime(5); print(Time.realtimeSinceStartup); } https://dev.twsiyuan.com UnityEngine.WaitForSecondsRealtime - Unity 脚本API
使用未缩放时间将协同程序执行暂停指定的秒数。 https://docs.unity3d.com |