public static void Init()
        {
            CharacterWizardWindow window = EditorWindow.GetWindowWithRect <CharacterWizardWindow> (new Rect(0, 0, 420, 360), true, "Character Wizard", true);

            window.titleContent.text = "Character wizard";
            window.position          = new Rect(300, 200, 420, 360);
        }
Beispiel #2
0
        public static void Init()
        {
            CharacterWizardWindow window = (CharacterWizardWindow)EditorWindow.GetWindow(typeof(CharacterWizardWindow));

            UnityVersionHandler.SetWindowTitle(window, "Character wizard");
            window.position = new Rect(300, 200, 350, 300);
        }
        public static void Init()
        {
            CharacterWizardWindow window = EditorWindow.GetWindowWithRect <CharacterWizardWindow> (new Rect(0, 0, 420, 360), true, "Character Wizard", true);

            UnityVersionHandler.SetWindowTitle(window, "Character wizard");
            window.position = new Rect(300, 200, 420, 360);
        }