public static void Init() { // Get existing open window or if none, make a new one: ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); window.Show(); }
public static void InitAndShowAutoSave() { // Get existing open window or if none, make a new one: ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); window.Show(); window.SetCurrentWindow(typeof(AutoSaveWindow)); }
public static void InitAndShowHome() { // Get existing open window or if none, make a new one: ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); window.Show(); window.currentWindow = new HomeWindow(window); }
public static void InitAndShowTypes(System.Type type) { // Get existing open window or if none, make a new one: ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); window.Show(); var typesWindow = (TypesWindow)window.SetCurrentWindow(typeof(TypesWindow)); typesWindow.SelectType(type); }
public static void InitAndShowSettings() { // Get existing open window or if none, make a new one: ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); if (window != null) { window.Show(); window.SetCurrentWindow(typeof(SettingsWindow)); } }