Class CreateBeforeAttribute
Apply to a system to specify a creation ordering constraint with another system in the same ComponentSystemGroup.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
[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
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. |