AddSharedComponentFilter<SharedComponent>(SharedComponent)
Filters this EntityQuery so that it only selects entities with an unmanaged shared component of type SharedComponent equal to sharedComponent. Additive with other filter functions.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
AddSharedComponentFilter<T>(T)
public void AddSharedComponentFilter<SharedComponent>(SharedComponent sharedComponent) where SharedComponent : unmanaged, ISharedComponentData