Exemplo n.º 1
0
        /**
         * Initialises the window.
         */
        public static void Init()
        {
            SpeechTagsWindow window = (SpeechTagsWindow)EditorWindow.GetWindow(typeof(SpeechTagsWindow));

            UnityVersionHandler.SetWindowTitle(window, "Speech Tags Editor");
            window.position = new Rect(300, 200, 450, 400);
        }
Exemplo n.º 2
0
        /**
         * Initialises the window.
         */
        public static void Init()
        {
            SpeechTagsWindow window = EditorWindow.GetWindowWithRect <SpeechTagsWindow> (new Rect(0, 0, 450, 303), true, "Speech Tags editor", true);

            window.titleContent.text = "Speech Tags editor";
            window.position          = new Rect(300, 200, 450, 303);
        }
        /**
         * Initialises the window.
         */
        public static void Init()
        {
            SpeechTagsWindow window = EditorWindow.GetWindowWithRect <SpeechTagsWindow> (new Rect(0, 0, 450, 303), true, "Speech Tags editor", true);

            UnityVersionHandler.SetWindowTitle(window, "Speech Tags editor");
            window.position = new Rect(300, 200, 450, 303);
        }