Method WithAll
WithAll<TComponent1>()
Specify all read-only component types that must be present.
Declaration
public QueryEnumerableWithEntity<T1, T2, T3, T4, T5, T6> WithAll<TComponent1>()
Returns
Type | Description |
---|---|
QueryEnumerableWithEntity<T1, T2, T3, T4, T5, T6> | QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query. |
Type Parameters
Name | Description |
---|---|
TComponent1 | A component type |
WithAll<TComponent1, TComponent2>()
Specify all read-only component types that must be present.
Declaration
public QueryEnumerableWithEntity<T1, T2, T3, T4, T5, T6> WithAll<TComponent1, TComponent2>()
Returns
Type | Description |
---|---|
QueryEnumerableWithEntity<T1, T2, T3, T4, T5, T6> | QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query. |
Type Parameters
Name | Description |
---|---|
TComponent1 | A component type |
TComponent2 | A component type |
WithAll<TComponent1, TComponent2, TComponent3>()
Specify all read-only component types that must be present.
Declaration
public QueryEnumerableWithEntity<T1, T2, T3, T4, T5, T6> WithAll<TComponent1, TComponent2, TComponent3>()
Returns
Type | Description |
---|---|
QueryEnumerableWithEntity<T1, T2, T3, T4, T5, T6> | QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query. |
Type Parameters
Name | Description |
---|---|
TComponent1 | A component type |
TComponent2 | A component type |
TComponent3 | A component type |