ForNumberLoop

By using a ForNumberLoop node , you can run node repeatedly until a specified condition evaluates to false.

 

Examples

Flow Graph:

Generated Script:

using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class test : MonoBehaviour {

  public void Start() {
    for(int index = 0; index < 10; index += 1) {
      Debug.Log(index);
    }
  }
}

Output:

0
1
2
3
4
5
6
7
8
9

 

Was this helpful to you?