Interface ISystemStartStop
Optional interface for start/stop notifications on systems.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
[RequireImplementors]
public interface ISystemStartStop
Methods
| Name | Description |
|---|---|
| OnStartRunning(ref SystemState) | Called before the first call to OnUpdate and when a system resumes updating after being stopped or disabled. |
| OnStopRunning(ref SystemState) | Called when this system stops running because no entities match the system's EntityQuery objects or because you change the system Enabled property to false. |