Пример #1
0
 public override void NodeGUI()
 {
     name = stateName = RTEditorGUI.TextField(new GUIContent("State Name"), stateName);
     if (GUILayout.Button("Start Transitioning from here!"))
     {
         NodeEditor.BeginTransitioning(NodeEditor.curNodeCanvas, this);
     }
 }