Example #1
0
 public override void OnInspectorGUI()
 {
     if (GUILayout.Button("Open Editor"))
     {
         ButtDataEditorWindow.Open((ButtData)target);
     }
 }
Example #2
0
 public static void Open(ButtData buttData)
 {
     ButtDataEditorWindow window = GetWindow <ButtDataEditorWindow>("Butt Data Editor");
 }