docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)