Gets a variable's value.
    public class VisualScriptVariableGet : VisualScriptNode

Returns a variable’s value. “Var Name” must be supplied, with an optional type.

Input Ports:

none

Output Ports:

  • Data (variant): value

Inheritance Chain

Constructors

    public VisualScriptVariableGet()

Properties

    public string VarName { get; set; }

The variable’s name.

Methods

    public string GetVariable()

Getter for VarName

    public void SetVariable(string name)

Setter for VarName

Tags: