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

    [Obsolete("GetVarName is deprecated. Use the VarName property instead.")]
    public string GetVarName()

Getter for VarName

    [Obsolete("GetVarType is deprecated. Use the Type property instead.")]
    public Variant.Type GetVarType()

Getter for Type

    [Obsolete("SetVarName is deprecated. Use the VarName property instead.")]
    public void SetVarName(string name)

Setter for VarName

    [Obsolete("SetVarType is deprecated. Use the Type property instead.")]
    public void SetVarType(Variant.Type type)

Setter for Type

Tags: