docs.unity.cn
    Show / Hide Table of Contents

    Class CreateBeforeAttribute

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

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

    Create before or after a system constrains the creation order of these systems when initializing a default world. System destruction order is defined as the reverse of creation order.

    Constructors

    Name Description
    CreateBeforeAttribute(Type)

    Specify a system which the tagged system must be created before.

    Properties

    Name Description
    SystemType

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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023