Entity.GetBehavior() Method
Definition¶
Namespace: Brine2D.ECS
Gets a behavior of the specified type attached to this entity.
public T? GetBehavior<T>()
where T : Brine2D.ECS.Behavior;
Type parameters¶
T
Namespace: Brine2D.ECS
Gets a behavior of the specified type attached to this entity.
public T? GetBehavior<T>()
where T : Brine2D.ECS.Behavior;
T