Method WithAspect
WithAspect<TAspect>()
Add component type requirement for a given aspect.
Declaration
public EntityQueryBuilder WithAspect<TAspect>() where TAspect : struct, IAspect, IAspectCreate<TAspect>
Returns
| Type | Description |
|---|---|
| EntityQueryBuilder | The builder object that invoked this method. |
Type Parameters
| Name | Description |
|---|---|
| TAspect | The aspect to add to the query |