public static void Init() { PhonemesWindow window = (PhonemesWindow)EditorWindow.GetWindow(typeof(PhonemesWindow)); AdvGame.SetWindowTitle(window, "Phonemes Editor"); window.position = new Rect(300, 200, 450, 400); }
/** * Initialises the window. */ public static void Init() { PhonemesWindow window = EditorWindow.GetWindowWithRect <PhonemesWindow> (new Rect(0, 0, 450, 270), true, "Phonemes editor", true); UnityVersionHandler.SetWindowTitle(window, "Phonemes editor"); window.position = new Rect(300, 200, 450, 270); }
/** * Initialises the window. */ public static void Init() { PhonemesWindow window = EditorWindow.GetWindowWithRect <PhonemesWindow> (new Rect(0, 0, 450, 270), true, "Phonemes editor", true); window.titleContent.text = "Phonemes editor"; window.position = new Rect(300, 200, 450, 270); }
//[MenuItem ("Adventure Creator/Editors/Phonemes Editor")] public static void Init() { PhonemesWindow window = (PhonemesWindow)EditorWindow.GetWindow(typeof(PhonemesWindow)); window.title = "Phonemes Editor"; window.position = new Rect(300, 200, 450, 400); }