unity中无时无刻都在进行着创建,更新和销毁,而最频繁的就是更新, 更新包含了fixedUpdate和 update。
Time.timeScale 可以改变物理世界中的刷新速度,也可以改变fixedUpdate刷新速度,但并不对update起作用。所以你知道如何在timeScale变小后还能继续处理事件了吧。
参考:
https://blog.csdn.net/swj524152416/article/details/52931209
https://blog.csdn.net/lyh916/article/details/44133003
https://answers.unity.com/questions/1238793/unity2d-frost-effect-timetimescale-0.html
ps:Invoke也会因为 Time.timeScale 变为0 而失活哦~~