Entity.GetBehaviorInParent() Method
Definition
Namespace: Brine2D.ECS
Gets a behavior of the specified type on this entity or any of its ancestors.
Type parameters
T
Returns
Remarks
This is O\(depth × behaviors\). Avoid calling on hot paths or deep hierarchies.