Class ComponentSystemGroup
A special-case system that encapsulates an ordered list of other systems. When the group is updated, the group's member systems are updated in order.
Inherited Members
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
public abstract class ComponentSystemGroup : SystemBase
Properties
Name | Description |
---|---|
Created | Checks if the system group is in a fully initialized and valid state |
EnableSystemSorting | If true (the default), calling SortSystems() will sort the system update list, respecting the constraints imposed by [UpdateBefore] and [UpdateAfter] attributes. |
FixedRateManager | Obsolete. Use RateManager instead. |
ManagedSystems | The list of managed systems in this group, sorted by update order. |
RateGroupAllocators | Retrieve double rewindable allocators of this rate system group. |
RateManager | Optional field to control the update rate of this system group. |
Methods
Name | Description |
---|---|
AddSystemToUpdateList(ComponentSystemBase) | Appends a managed system to the group's update list. The list will be sorted the next time the group is updated. |
AddSystemToUpdateList(SystemHandle) | Appends an unmanaged system to the group's update list. The list will be sorted the next time the group is updated. |
GetAllSystems(Allocator) | Get the list of all systems in this group, managed and unmanaged alike, sorted by update order. |
GetUnmanagedSystems(Allocator) | Get the list of unmanaged systems in this group, sorted by update order. |
OnCreate() | |
OnDestroy() | |
OnUpdate() | Updates the group's systems |
RemoveSystemFromUpdateList(ComponentSystemBase) | Requests that a managed system be removed from the group's update list. The system will be removed the next time the group is sorted. |
RemoveSystemFromUpdateList(SystemHandle) | Requests that an unmanaged system be removed from the group's update list. The system will be removed the next time the group is sorted. |
SetRateManagerCreateAllocator(IRateManager) | Set optional rate manager for the system group and create group allocator. |
SortSystems() | Update the component system's sort order. |