Description
The Order
field in the DisplayInfo
struct represents the order of this member for UI ordering purposes. This field is used to determine the sequence in which UI elements are displayed, based on their order value. It is an integer value that can be set to organize UI components in a specific order.
Usage
To use the Order
field, assign an integer value to it that represents the desired order of the UI element. Lower values will appear before higher values in the UI.
Example
// Example of setting the Order field
DisplayInfo displayInfo = new DisplayInfo();
displayInfo.Order = 1; // This will set the order of the UI element to 1, making it appear before elements with higher order values.