Method Matches
Matches(Entity)
Reports whether an entity would be selected by the EntityQuery instance used to create this entity query mask.
Declaration
public bool Matches(Entity entity)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | The entity to check. |
Returns
Type | Description |
---|---|
Boolean | True if the entity would be returned by the EntityQuery, false if it would not. |
Remarks
The match does not consider any filter settings of the EntityQuery.