public override void OnInspectorGUI() { base.OnInspectorGUI(); if (GUILayout.Button("Open Editor")) { //ClassEditorWindow.Open((ClassDataBase)target); ItemEditorWindow.Open((ItemDataBase)target); } }
public static void Open() { ItemEditorWindow.Open(); StateEditorWindow.Open(); TraitEditorWindow.Open(); RaceEditorWindow.Open(); ClassEditorWindow.Open(); ShopEditorWindow.Open(); }