int Order { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Order property of the PrefabVariable class is an integer that determines the order in which variables are displayed or processed. Lower numbers will appear first, allowing you to control the sequence of variable presentation or execution.

Usage

Use the Order property to specify the display or processing order of a PrefabVariable. Assign a lower integer value to make a variable appear earlier in the sequence.

Example

// Example of setting the Order property
PrefabVariable myVariable = new PrefabVariable();
myVariable.Order = 1; // This variable will appear before others with a higher Order value

PrefabVariable anotherVariable = new PrefabVariable();
anotherVariable.Order = 2; // This variable will appear after myVariable