Class ScriptBehaviourUpdateOrder
Namespace: Unity.Entities
Syntax
public static class ScriptBehaviourUpdateOrder
Properties
CurrentPlayerLoop
Declaration
public static PlayerLoopSystem CurrentPlayerLoop { get; }
Property Value
| Type | Description | 
|---|---|
| PlayerLoopSystem | 
Methods
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)  |