Version: 2020.1

PlayerLoop.GetDefaultPlayerLoop

切换到手册
public static LowLevel.PlayerLoopSystem GetDefaultPlayerLoop ();

描述

返回 Unity 中所有引擎系统的默认更新顺序。

Unity 的默认更新顺序即是系统的更新顺序,除非使用 SetPlayerLoop 对其进行更改。使用 GetCurrentPlayerLoop 可附加到当前更新顺序。可以修改此方法返回的玩家循环,以创建可使用 SetPlayerLoop 设置的自定义更新顺序。