Gets a local variable's value.
    public class VisualScriptLocalVar : VisualScriptNode

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

Input Ports:

none

Output Ports:

  • Data (variant): get

Inheritance Chain

Constructors

    public VisualScriptLocalVar()

Properties

    public Variant.Type Type { get; set; }

The local variable’s type.

    public string VarName { get; set; }

The local variable’s name.

Methods

    public string GetVarName()

Getter for VarName

    public Variant.Type GetVarType()

Getter for Type

    public void SetVarName(string name)

Setter for VarName

    public void SetVarType(Variant.Type type)

Setter for Type

Tags: