Skip to content

CachedEntityQueryBuilderBase.WithoutBehavior() Method

Definition

Namespace: Brine2D.ECS.Query

Excludes entities that have the specified behavior. The query is automatically invalidated when behaviors are added or removed.

public TSelf WithoutBehavior<TBehavior>()
    where TBehavior : Brine2D.ECS.Behavior;

Type parameters

TBehavior

Returns

TSelf