Changes a variable's value.
    public class VisualScriptVariableSet : VisualScriptNode

Changes a variable’s value to the given input.

Input Ports:

  • Sequence

  • Data (variant): set

Output Ports:

  • Sequence

Inheritance Chain

Constructors

    public VisualScriptVariableSet()

Properties

    public string VarName { get; set; }

The variable’s name.

Methods

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

Getter for VarName

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

Setter for VarName

Tags: