Example #1
0
        /// <summary>
        /// Creates the base window object
        /// </summary>
        /// <returns>The window object</returns>
        private static TSMultiWindow CreateBaseWindow()
        {
            TSMultiWindow window = EditorWindow.GetWindow <TSMultiWindow>();

            window.titleContent = new GUIContent("Toony Standard");
            window.minSize      = new Vector2(windowWidth, windowHeight);
            window.maxSize      = new Vector2(windowWidth, windowHeight);
            return(window);
        }
Example #2
0
        static void InitCreditsWindow()
        {
            TSMultiWindow window = CreateBaseWindow();

            window.SetOpenSection(MultiWindowSection.Credits);
        }
Example #3
0
        static void InitUpdaterWindow()
        {
            TSMultiWindow window = CreateBaseWindow();

            window.SetOpenSection(MultiWindowSection.Updater);
        }
Example #4
0
        static void InitSettingsWindow()
        {
            TSMultiWindow window = CreateBaseWindow();

            window.SetOpenSection(MultiWindowSection.Settings);
        }