public static void Init() { // Get existing open window or if none, make a new one: window = (DamageArmorDBEditor)EditorWindow.GetWindow(typeof(DamageArmorDBEditor)); //~ window.minSize=new Vector2(340, 170); window.minSize = new Vector2(470, 300); //~ window.maxSize=new Vector2(471, 301); EditorDBManager.Init(); }
public static void OpenDamageTable() { DamageArmorDBEditor.Init(); }