예제 #1
0
 public override void OnInspectorGUI()
 {
     base.OnInspectorGUI();
     if (GUILayout.Button("Open Window"))
     {
         RotatorEditorWindow.OpenWindow();
     }
 }
예제 #2
0
 public static void OpenWindow()
 {
     RotatorEditorWindow window = GetWindow <RotatorEditorWindow>("Rotator Setter Windows");
 }