Class ComponentSystem
An abstract class to implement in order to create a system.
Inherited Members
Namespace: Unity.Entities
Syntax
public abstract class ComponentSystem : ComponentSystemBase
Remarks
Implement a ComponentSystem subclass for systems that perform their work on the main thread or that use Jobs not specifically optimized for ECS. To use the ECS-specific Jobs, such as IJobEntity or IJobEntityBatch, implement SystemBase instead.
Properties
Name | Description |
---|---|
Entities | This system's query builder object. |
PostUpdateCommands | This system's EntityCommandBuffer. |
Methods
Name | Description |
---|---|
InitEntityQueryCache(Int32) | Initializes this system's internal cache of EntityQuery objects to the specified number of queries. |
OnUpdate() | Implement OnUpdate to perform the major work of this system. |
Update() |