public static void Init() { EditorFontSwitcher window = (EditorFontSwitcher)EditorWindow.GetWindow(typeof(EditorFontSwitcher), true, "Font Switcher"); window.Show(); window.maxSize = new Vector2(200, 200); window.minSize = window.maxSize; }
public static void Exit() { EditorFontSwitcher window = (EditorFontSwitcher)EditorWindow.GetWindow(typeof(EditorFontSwitcher), true, "Font Switcher"); window.Close(); }