UpdateAfterAttribute
Apply to a system to specify an update ordering constraint with another system in the same ComponentSystemGroup.
Read time 3 minutesLast updated a day ago
Definition
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = true)]public class UpdateAfterAttribute : Attribute
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
Constructor | Description |
|---|---|
| UpdateAfterAttribute(System.Type) | Specify a system which the tagged system must update after. |
Properties
Property | Description |
|---|---|
| SystemType | The type of the target system, which the tagged system must update after. |