EntityQuery.With(Func) Method
Definition¶
Namespace: Brine2D.ECS.Query
Requires entities to have the specified component. Optionally filters by component property values.
public Brine2D.ECS.Query.EntityQuery With<T>(System.Func<T,bool>? filter=null)
where T : Brine2D.ECS.Component;
Type parameters¶
T
Parameters¶
filter System.Func<T,System.Boolean>