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