CachedEntityQueryBuilderBase.WithBehavior() Method
Definition¶
Namespace: Brine2D.ECS.Query
Requires entities to have the specified behavior. The query is automatically invalidated when behaviors are added or removed.
public TSelf WithBehavior<TBehavior>()
where TBehavior : Brine2D.ECS.Behavior;
Type parameters¶
TBehavior