Skip to content

IUpdateSystem.UpdateOrder Property

Definition

Namespace: Brine2D.ECS

Determines the order in which this system executes during the update phase. Lower values execute first. Default is 0 (Update).

int UpdateOrder { get; }

Property Value

System.Int32

Remarks

This property must return a constant value. EntityWorld sorts systems once after registration; a value that changes at runtime will not trigger a re-sort. Use SystemUpdateOrder constants for common phases, or add offsets for fine-grained control (e.g., SystemUpdateOrder.Physics + 10).