Branches program flow based on a given input's value.
    public class VisualScriptSwitch : VisualScriptNode

Branches the flow based on an input’s value. Use “Case Count” in the Inspector to set the number of branches and each comparison’s optional type.

Input Ports:

  • Sequence: 'input' is

  • Data (variant): =

  • Data (variant): = (optional)

  • Data (variant): input

Output Ports:

  • Sequence

  • Sequence (optional)

  • Sequence: done

Inheritance Chain

Constructors

    public VisualScriptSwitch()
Tags: