Local Variables

Local variable, as a Class variable, is a 'boxes' for temporary storage information of defined type while code is executing, but they used only in edit graph (in script functions, properties, constructors or state machine events).


Creating local variables

To create a local variable press ‘plus’ button on the right side of Class variables section:

After local variable is created you can change only the name (double clicking on its name), the type of variable and its default value. For more information about this check Class variables.

Render time: 0.01 seconds
137,030 unique visits