Class UpdateBeforeAttribute
Apply to a system to specify an update 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 UpdateBeforeAttribute : 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
Name | Description |
---|---|
UpdateBeforeAttribute(Type) | Specify a system which the tagged system must update before. |
Properties
Name | Description |
---|---|
SystemType | The type of the target system, which the tagged system must update before. |