Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Gets or sets whether this component participates in scene lifecycle and frame updates.

API: scripting
Project: Inno.Scene
Scope: Runtime

public bool InnoEngine.Scene.GameBehavior.enabled { get; set; }

Changing this value while the component belongs to a loaded scene immediately reconciles M:InnoEngine.Scene.GameBehavior.OnEnable and M:InnoEngine.Scene.GameBehavior.OnDisable against hierarchy activation.