ドキュメント

Unity Engine

Download Unity

Unity Engine

Enabled

Controls whether this system executes when its OnUpdate function is called.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.