ISystemStartStop
Optional interface for start/stop notifications on systems.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Interface
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public interface ISystemStartStop
Methods
Method | Description |
|---|---|
| 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 SystemState.Enabled property to false. |