Documentation

Unity Engine

Download Unity

Unity Engine

ISystemStartStop

Optional interface for start/stop notifications on systems.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Interface
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public interface ISystemStartStop

Methods

Method

Description

OnStartRunningCalled before the first call to OnUpdate and when a system resumes updating after being stopped or disabled.
OnStopRunningCalled 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.