diff options
Diffstat (limited to 'Other/NodeEditorExamples/Assets/xNode-examples/Examples/StateMachine/Nodes/Editor')
-rw-r--r-- | Other/NodeEditorExamples/Assets/xNode-examples/Examples/StateMachine/Nodes/Editor/StateNodeEditor.cs | 6 |
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(); |