docs.unity.cn
    Show / Hide Table of Contents

    Class UpdateBeforeAttribute

    Apply to a system to specify an update ordering constraint with another system in the same ComponentSystemGroup.

    Inheritance
    Object
    Attribute
    UpdateBeforeAttribute
    Namespace: Unity.Entities
    Syntax
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true)]
    public class UpdateBeforeAttribute : Attribute, _Attribute, ISystemOrderAttribute
    Remarks

    Updating before or after a system constrains the scheduler ordering of these systems within a ComponentSystemGroup. Both the before and after systems must be a members of the same ComponentSystemGroup.

    Constructors

    Name Description
    UpdateBeforeAttribute(Type)

    Specify a system which the tagged system must update before.

    Properties

    Name Description
    SystemType

    The type of the target system, which the tagged system must update before.

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