docs.unity.cn
    Show / Hide Table of Contents

    Class AlwaysUpdateSystemAttribute

    Obsolete. Systems now update by default.

    Inheritance
    Object
    Attribute
    AlwaysUpdateSystemAttribute
    Namespace: Unity.Entities
    Syntax
    [Obsolete("AlwaysUpdateSystem is deprecated. Systems now always update by default. Use RequireMatchingQueriesForUpdate if you want a System to only update if one of its queries matches. (RemovedAfter Entities 1.0)")]
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
    public class AlwaysUpdateSystemAttribute : Attribute, _Attribute
    Remarks

    Obsolete. Systems now update by default. Use RequireMatchingQueriesForUpdateAttribute if you want a system to only update if one of its queries is non-empty.

    This attribute causes a system to update even if none of its registered queries matched any entities.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 20, 2023