Skip to content

EntityQuery.WithBehavior() Method

Definition

Namespace: Brine2D.ECS.Query

Requires entities to have the specified behavior.

public Brine2D.ECS.Query.EntityQuery WithBehavior<T>()
    where T : Brine2D.ECS.Behavior;

Type parameters

T

Returns

EntityQuery