Documentation

Unity Engine


Unity Engine


CreateBeforeAttribute

Apply to a system to specify a creation ordering constraint with another system in the same ComponentSystemGroup.
Read time 3 minutesLast updated 2 days ago

Definition

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = true)]public class CreateBeforeAttribute : Attribute

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

Constructor

Description

CreateBeforeAttribute(System.Type)Specify a system which the tagged system must be created before.

Properties

Property

Description

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

Inheritance

Inherited Members