TickBehavior (Base)
Overview
Abstract base for any object that participates in the simulation tick. Handles automatic registration with GameManager and provides hooks to mark a behavior as a Region or a Lab for ordered updates.
Lifecycle
- Awake():
GameManager.Subscribe(this) - OnDestroy():
GameManager.Unsubscribe(this)
Type Hints
Override to influence ordering and helper queries:
public virtual bool IsRegion() => false;
public virtual bool IsLab() => false;
Tick
public abstract void Tick();
Every tick, GameManager invokes this in deterministic order (Regions → Labs → Others).