Variables

Variable are containers. each variable has a name, type, value, attributes, and a modifiers.

The variable value can be changed at runtime.

A variable with public modifier is displayed on the inspector.

 

Others:-uNodeStruct can’t have default value when generating a script even if you have default value in Variable.

Modifier and Attribute is not supported in runtime, its only supported in generated script.

Was this helpful to you?