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