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