Class ComponentSystemGroup
Inheritance
ComponentSystemGroup
Syntax
public abstract class ComponentSystemGroup : ComponentSystem
Fields
m_systemsToUpdate
Declaration
protected List<ComponentSystemBase> m_systemsToUpdate
Field Value
UpdateCallback
An optional callback. If set, this group's systems will be updated in a loop while
this callback returns true. This can be used to implement custom processing before/after
update (first call should return true, second should return false), or to run a group's
systems multiple times (return true more than once).
The group is passed as the first parameter.
Declaration
public Func<ComponentSystemGroup, bool> UpdateCallback
Field Value
Properties
Systems
Declaration
public virtual IEnumerable<ComponentSystemBase> Systems { get; }
Property Value
UseLegacySortOrder
Controls if the legacy sort ordering is used.
Declaration
public bool UseLegacySortOrder { get; set; }
Property Value
Methods
AddSystemToUpdateList(ComponentSystemBase)
Declaration
public void AddSystemToUpdateList(ComponentSystemBase sys)
Parameters
OnCreate()
Declaration
protected override void OnCreate()
Overrides
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnStopRunning()
Declaration
protected override void OnStopRunning()
Overrides
OnUpdate()
Declaration
protected override void OnUpdate()
Overrides
RemoveSystemFromUpdateList(ComponentSystemBase)
Declaration
public void RemoveSystemFromUpdateList(ComponentSystemBase sys)
Parameters
SortSystems()
Update the component system's sort order.
Declaration
public void SortSystems()
Extension Methods