Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Base component for independently enabled scene functionality with frame lifecycle callbacks.

API: scripting
Implements: InnoEngine.Serialization.ISerializable
Inherits: InnoEngine.Scene.GameComponent
Project: Inno.Scene
Scope: Runtime

public abstract class InnoEngine.Scene.GameBehavior : InnoEngine.Scene.GameComponent, InnoEngine.Serialization.ISerializable
Kind Element Description
Constructors GameBehavior.Constructor No XML description is available.
Methods GameBehavior.Awake Called once before this behavior first becomes active.
Methods GameBehavior.FixedUpdate Called during the fixed-rate update stage. Use Time.fixedDeltaTime for step timing.
Methods GameBehavior.LateUpdate Called during the late update stage. Use Time.deltaTime for frame timing.
Methods GameBehavior.OnDestroy Called immediately before this behavior is detached and destroyed.
Methods GameBehavior.OnDisable Called when this component stops being active and enabled.
Methods GameBehavior.OnEnable Called when this component becomes active and enabled.
Methods GameBehavior.Start Called once immediately before the first update of this behavior.
Methods GameBehavior.Update Called during the variable-rate update stage. Use Time.deltaTime for frame timing.
Properties GameBehavior.enabled Gets or sets whether this component participates in scene lifecycle and frame updates.
Properties GameBehavior.isActiveAndEnabled Gets whether this component is enabled and active in its owning hierarchy.