Method WithAnyChunkComponent
WithAnyChunkComponent<T>()
Add an optional Chunk Component type to the query.
Declaration
public SystemAPIQueryBuilder WithAnyChunkComponent<T>()
Returns
Type | Description |
---|---|
System |
The builder object that invoked this method. |
Type Parameters
Name | Description |
---|---|
T | Component type to use as an optional, read-only Chunk Component |
Remarks
To match the resulting query, an Entity must have at least one of the query's optional component types,
specified using either With
Compare this to Unity.
To add additional optional Chunk Components, call this method multiple times.