正常
Time.timeScale = 1
2倍加速
Time.timeScale = 2
暫停
Time.timeScale = 0
- Time.deltaTime = 0
- 影響 FixedUpdate, 物理運算, Particle System, Animation
- 無法觸發 OnTrigger, OnCollision, WaitForSeconds 函式
- WaitForSecondsRealtime OK
參考來源
https://docs.unity3d.com/ScriptReference/WaitForSecondsRealtime.html