예제 #1
0
 /// <summary>
 /// Raises the inspector GUI event.
 /// </summary>
 public override void OnInspectorGUI()
 {
     if (GUILayout.Button("Open Sequence"))
     {
         Debug.Log("Opening Sequence");
         NodeEditor editor = EditorWindow.GetWindow <NodeEditor>();
         editor.Repaint();
     }
 }
예제 #2
0
        static void ShowEditor()
        {
            NodeEditor editor = EditorWindow.GetWindow <NodeEditor>();

            editor.Repaint();
        }