VisualScriptAddVariable Method |
Add a variable to the VisualScript, optionally giving it a default value or marking it as exported.
Namespace: Godot
public void AddVariable( string name, Object defaultValue = null, bool export = false )
[Missing <param name="name"/> documentation for "M:Godot.VisualScript.AddVariable(System.String,System.Object,System.Boolean)"]
[Missing <param name="defaultValue"/> documentation for "M:Godot.VisualScript.AddVariable(System.String,System.Object,System.Boolean)"]
[Missing <param name="export"/> documentation for "M:Godot.VisualScript.AddVariable(System.String,System.Object,System.Boolean)"]