docs.unity.cn
    Show / Hide Table of Contents

    Property Enabled

    Enabled

    Controls whether this system executes when its OnUpdate function is called.

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    Boolean

    True, if the system is enabled.

    Remarks

    The Enabled property is intended for debugging so that you can easily turn on and off systems from the Entity Debugger window. A system with Enabled set to false will not update, even if its Unity.Entities.SystemState.ShouldRunSystem function returns true.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use