docs.unity.cn
    Show / Hide Table of Contents

    Class RequireMatchingQueriesForUpdateAttribute

    Use RequireMatchingQueriesForUpdate to force a System to skip calling OnUpdate if every EntityQuery in the system is empty.

    Inheritance
    Object
    Attribute
    RequireMatchingQueriesForUpdateAttribute
    Namespace: Unity.Entities
    Syntax
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
    public class RequireMatchingQueriesForUpdateAttribute : Attribute, _Attribute

    See Also

    ShouldRunSystem()
    RequireForUpdate<T>()
    RequireForUpdate(EntityQuery)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023