summaryrefslogtreecommitdiff
path: root/Other/NodeEditorExamples/Assets/xNode-examples/Examples/StateMachine/Nodes
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-07-04 20:57:13 +0800
committerchai <chaifix@163.com>2022-07-04 20:57:13 +0800
commit7adcecd82e552ad6c03607ef5074fc6a8fa46671 (patch)
treea9c7be1f20427f6a2e9da8d9e5f71b1ca6b7092e /Other/NodeEditorExamples/Assets/xNode-examples/Examples/StateMachine/Nodes
parent6cd1b99d4ab9866f00ec0b197ed9686f7d1cea46 (diff)
* node test
Diffstat (limited to 'Other/NodeEditorExamples/Assets/xNode-examples/Examples/StateMachine/Nodes')
-rw-r--r--Other/NodeEditorExamples/Assets/xNode-examples/Examples/StateMachine/Nodes/Editor/StateNodeEditor.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Other/NodeEditorExamples/Assets/xNode-examples/Examples/StateMachine/Nodes/Editor/StateNodeEditor.cs b/Other/NodeEditorExamples/Assets/xNode-examples/Examples/StateMachine/Nodes/Editor/StateNodeEditor.cs
index f9d6b9eb..6ce01956 100644
--- a/Other/NodeEditorExamples/Assets/xNode-examples/Examples/StateMachine/Nodes/Editor/StateNodeEditor.cs
+++ b/Other/NodeEditorExamples/Assets/xNode-examples/Examples/StateMachine/Nodes/Editor/StateNodeEditor.cs
@@ -8,7 +8,7 @@ namespace XNodeEditor.Examples {
[CustomNodeEditor(typeof(StateNode))]
public class StateNodeEditor : NodeEditor {
- public override void OnHeaderGUI() {
+ public override void OnHeaderGUI() {
GUI.color = Color.white;
StateNode node = target as StateNode;
StateGraph graph = node.graph as StateGraph;
@@ -19,8 +19,8 @@ namespace XNodeEditor.Examples {
}
public override void OnBodyGUI() {
- base.OnBodyGUI();
- StateNode node = target as StateNode;
+ base.OnBodyGUI();
+ StateNode node = target as StateNode;
StateGraph graph = node.graph as StateGraph;
if (GUILayout.Button("MoveNext Node")) node.MoveNext();
if (GUILayout.Button("Continue Graph")) graph.Continue();