RequireMatchingQueriesForUpdateAttribute
Use RequireMatchingQueriesForUpdate to force a System to skip calling OnUpdate if every EntityQuery in the system is empty.
Read time 3 minutesLast updated 14 hours ago
Definition
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]public class RequireMatchingQueriesForUpdateAttribute : Attribute
Remarks
Additional Resources: ComponentSystemBase.ShouldRunSystem(), RequireForUpdate, ComponentSystemBase.RequireForUpdate