Method MatchesAny
MatchesAny(NativeArray<Entity>)
Fast path to determine if any entities in the input entity list match this EntityQuery.
Declaration
public bool MatchesAny(NativeArray<Entity> entityArray)
Parameters
Type | Name | Description |
---|---|---|
NativeArray<Entity> | entityArray | A list of entities to limit execution to. Only entities in the list will be considered. |
Returns
Type | Description |
---|---|
Boolean | True if any entity in the list matches the query, false if no entities match the query |