Class ScriptBehaviourUpdateOrder
Inheritance
ScriptBehaviourUpdateOrder
Syntax
public static class ScriptBehaviourUpdateOrder
Properties
CurrentPlayerLoop
Declaration
public static PlayerLoopSystem CurrentPlayerLoop { get; }
Property Value
| Type |
Description |
| PlayerLoopSystem |
|
Methods
IsWorldInPlayerLoop(World)
Declaration
public static bool IsWorldInPlayerLoop(World world)
Parameters
| Type |
Name |
Description |
| World |
world |
|
Returns
SetPlayerLoop(PlayerLoopSystem)
Declaration
public static void SetPlayerLoop(PlayerLoopSystem playerLoop)
Parameters
| Type |
Name |
Description |
| PlayerLoopSystem |
playerLoop |
|
UpdatePlayerLoop(World, Nullable<PlayerLoopSystem>)
Update the player loop with a world's root-level systems
Declaration
public static void UpdatePlayerLoop(World world, PlayerLoopSystem? existingPlayerLoop = default(PlayerLoopSystem? ))
Parameters
| Type |
Name |
Description |
| World |
world |
World with root-level systems that need insertion into the player loop
|
| Nullable<PlayerLoopSystem> |
existingPlayerLoop |
Optional parameter to preserve existing player loops (e.g. ScriptBehaviourUpdateOrder.CurrentPlayerLoop)
|