Class ScriptBehaviourUpdateOrder
Inheritance
System.Object
ScriptBehaviourUpdateOrder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Entities
Syntax
public static class ScriptBehaviourUpdateOrder
Methods
CollectGroups(IEnumerable<ScriptBehaviourManager>, out Dictionary<Type, ScriptBehaviourUpdateOrder.ScriptBehaviourGroup>, out Dictionary<Type, ScriptBehaviourUpdateOrder.DependantBehavior>)
Declaration
public static void CollectGroups(IEnumerable<ScriptBehaviourManager> activeManagers, out Dictionary<Type, ScriptBehaviourUpdateOrder.ScriptBehaviourGroup> allGroups, out Dictionary<Type, ScriptBehaviourUpdateOrder.DependantBehavior> dependencies)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ScriptBehaviourManager> | activeManagers | |
Dictionary<System.Type, ScriptBehaviourUpdateOrder.ScriptBehaviourGroup> | allGroups | |
Dictionary<System.Type, ScriptBehaviourUpdateOrder.DependantBehavior> | dependencies |
InsertManagersInPlayerLoop(IEnumerable<ScriptBehaviourManager>, PlayerLoopSystem)
Declaration
public static PlayerLoopSystem InsertManagersInPlayerLoop(IEnumerable<ScriptBehaviourManager> activeManagers, PlayerLoopSystem defaultPlayerLoop)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ScriptBehaviourManager> | activeManagers | |
PlayerLoopSystem | defaultPlayerLoop |
Returns
Type | Description |
---|---|
PlayerLoopSystem |
InsertWorldManagersInPlayerLoop(PlayerLoopSystem, World[])
Declaration
public static PlayerLoopSystem InsertWorldManagersInPlayerLoop(PlayerLoopSystem defaultPlayerLoop, params World[] worlds)
Parameters
Type | Name | Description |
---|---|---|
PlayerLoopSystem | defaultPlayerLoop | |
World[] | worlds |
Returns
Type | Description |
---|---|
PlayerLoopSystem |
SetPlayerLoopAndNotify(PlayerLoopSystem)
Declaration
public static void SetPlayerLoopAndNotify(PlayerLoopSystem playerLoop)
Parameters
Type | Name | Description |
---|---|---|
PlayerLoopSystem | playerLoop |
UpdatePlayerLoop(World[])
Declaration
public static void UpdatePlayerLoop(params World[] worlds)
Parameters
Type | Name | Description |
---|---|---|
World[] | worlds |
Events
OnSetPlayerLoop
Declaration
public static event Action<PlayerLoopSystem> OnSetPlayerLoop
Event Type
Type | Description |
---|---|
System.Action<PlayerLoopSystem> |