mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 09:16:01 +08:00
16 lines
369 B
C#
16 lines
369 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace XNode.Examples.StateGraph {
|
|
[CreateAssetMenu(fileName = "New State Graph", menuName = "xNode Examples/State Graph")]
|
|
public class StateGraph : NodeGraph {
|
|
|
|
// The current "active" node
|
|
public StateNode current;
|
|
|
|
public void Continue() {
|
|
current.MoveNext();
|
|
}
|
|
}
|
|
} |