Class ScriptBehaviourUpdateOrder
Namespace: Unity.Entities
Syntax
public static class ScriptBehaviourUpdateOrder
Methods
IsWorldInPlayerLoop(World)
Declaration
public static bool IsWorldInPlayerLoop(World world)
Parameters
| Type | Name | Description |
|---|---|---|
| World | world |
Returns
| Type | Description |
|---|---|
| Boolean |
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. PlayerLoop.GetCurrentPlayerLoop()) |