docs.unity3d.com
Search Results for

    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
    bool

    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 ShouldRunSystem() function returns true.

    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)