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