docs.unity.cn
    Show / Hide Table of Contents

    Interface ISystemStartStop

    Optional interface for start/stop notifications on systems.

    Namespace: Unity.Entities
    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023