FlowControl

The FlowControl node allows for executing many nodes in order. The node may have any number of connection, all of which get called as soon as the node executed. They will always get called in order.

 

Examples

In this example, the Flow control node is called at start. It then call 3 Debug.Log nodes in order from left to right.

Flow Graph:

Generated Script:

using UnityEngine;
using System.Collections.Generic;

public class Program : MonoBehaviour {

  public void Start() {
    Debug.Log("First");
    Debug.Log("Second");
    Debug.Log("Last");
  }
}

Output:

First
Second
Last
Was this helpful to you?