Esempio n. 1
0
        public static void Init()
        {
            // Get existing open window or if none, make a new one:
            ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window));

            window.Show();
        }
Esempio n. 2
0
        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));
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
        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));
            }
        }