class in Unity.Entities
/
Inherits from:Unity.Entities.ComponentSystemGroup
The earliest of the default system groups to run in each frame. Contains systems related to setting up each new frame.
| Constructor | Description |
|---|---|
| InitializationSystemGroup | Default constructor |
| Property | Description |
|---|---|
| Enabled | Controls whether this system executes when its OnUpdate function is called. |
| EntityManager | The EntityManager object of the ComponentSystemBase.World in which this system exists. |
| EntityQueries | The query objects cached by this system. |
| GlobalSystemVersion | The current change version number in this ComponentSystemBase.World. |
| LastSystemVersion | The current version of this system. |
| SystemHandle | The SystemHandle of this system. |
| World | The World in which this system exists. |
| WorldUpdateAllocator | Retrieve world update allocator from system state. |
| 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. |
| 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. |
| CheckedStateRef | The SystemState for this SystemBase. |
| Dependency | The ECS-related data dependencies of the system. |
| Method | Description |
|---|---|
| GetBufferTypeHandle | Manually gets the run-time type information required to access an array of buffer components in a chunk. |
| GetComponentTypeHandle | Manually gets the run-time type information required to access an array of component data in a chunk. |
| GetDynamicComponentTypeHandle | Manually gets the run-time type information required to access an array of component data in a chunk. |
| GetDynamicSharedComponentTypeHandle | Manually gets the run-time type information required to access a shared component data in a chunk. |
| GetEntityQuery | Gets the cached query for the specified component types, if one exists; otherwise, creates a new query instance and caches it. |
| GetEntityTypeHandle | Manually gets the run-time type information required to access the array of Entity objects in a chunk. |
| GetSharedComponentTypeHandle | Manually gets the run-time type information required to access a shared component data in a chunk. |
| RequireAnyForUpdate | Provide a set of queries, one of which must match entities for the system to run. |
| RequireForUpdate | Adds a query that must match entities for the system to run. You can add multiple required queries to a system; all of them must match at least one entity for the system to run. |
| ShouldRunSystem | Reports whether this system satisfies the criteria to update. This function is used internally to determine whether the system's OnUpdate function can be skipped. |
| AddSystemToUpdateList | Appends a managed system to the group's update list. The list will be sorted the next time the group is updated. |
| GetAllSystems | Get the list of all systems in this group, managed and unmanaged alike, sorted by update order. |
| GetUnmanagedSystems | Get the list of unmanaged systems in this group, sorted by update order. |
| RemoveSystemFromUpdateList | 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. |
| SetRateManagerCreateAllocator | Set optional rate manager for the system group and create group allocator. |
| SortSystems | Update the component system's sort order. |
| GetBufferLookup | Manually gets a BufferLookup<T> object that can access a DynamicBuffer<T0>. |
| GetComponentLookup | Manually gets a dictionary-like container containing all components of type T, keyed by Entity. |
| GetEntityStorageInfoLookup | Manually gets an EntityStorageInfoLookup object that can access a EntityStorageInfo. |
| Update | Update the system manually. |
| Method | Description |
|---|---|
| OnCreate | Called when this system is created. |
| OnDestroy | Called when this system is destroyed. |
| OnStartRunning | Called before the first call to OnUpdate and when a system resumes updating after being stopped or disabled. |
| OnStopRunning | Called when this system stops running because no entities match the system's EntityQuery objects or because you change the system ComponentSystemBase.Enabled property to false. |
| OnUpdate | Updates the group's systems |
| CompleteDependency | Completes job handles registered with this system. See SystemBase.Dependency for more information. |
| HasBuffer | Checks whether an entity has a dynamic buffer of a specific IBufferElementData type. |