Method WithAny
WithAny<TComponent1>()
Specify optional read-only component types.
Declaration
public QueryEnumerableWithEntity<T1, T2> WithAny<TComponent1>()
Returns
Type | Description |
---|---|
QueryEnumerableWithEntity<T1, T2> | QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query. |
Type Parameters
Name | Description |
---|---|
TComponent1 | Optional component |
WithAny<TComponent1, TComponent2>()
Specify optional read-only component types.
Declaration
public QueryEnumerableWithEntity<T1, T2> WithAny<TComponent1, TComponent2>()
Returns
Type | Description |
---|---|
QueryEnumerableWithEntity<T1, T2> | QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query. |
Type Parameters
Name | Description |
---|---|
TComponent1 | Optional component |
TComponent2 | Optional component |
WithAny<TComponent1, TComponent2, TComponent3>()
Specify optional read-only component types.
Declaration
public QueryEnumerableWithEntity<T1, T2> WithAny<TComponent1, TComponent2, TComponent3>()
Returns
Type | Description |
---|---|
QueryEnumerableWithEntity<T1, T2> | QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query. |
Type Parameters
Name | Description |
---|---|
TComponent1 | Optional component |
TComponent2 | Optional component |
TComponent3 | Optional component |