Documentation

Unity Engine


Unity Engine


Enabled

Controls whether this system executes when its OnUpdate function is called.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Property
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public bool Enabled { get; set; }

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