Method AddSharedComponentFilter
AddSharedComponentFilter<SharedComponent>(SharedComponent)
Filters this EntityQuery so that it only selects entities with shared component values
matching the values specified by the sharedComponent1
parameter. Additive with other filter functions.
Declaration
[NotBurstCompatible]
public void AddSharedComponentFilter<SharedComponent>(SharedComponent sharedComponent)
where SharedComponent : struct, ISharedComponentData
Parameters
Type |
Name |
Description |
SharedComponent |
sharedComponent |
|
Type Parameters
Name |
Description |
SharedComponent |
|