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
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: Attribute
[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 |
|---|---|
| SystemType | The type of the target system, which the tagged system must be created before. |