static void ShowWindow() { LevelEditorWindow window = (LevelEditorWindow)EditorWindow.GetWindow(typeof(LevelEditorWindow)); window.titleContent = new GUIContent("Level Editor"); window.Show(); }
static void OpenWindow() { LevelEditorWindow window = (LevelEditorWindow)GetWindow(typeof(LevelEditorWindow)); window.minSize = new Vector2(600, 300); window.Show(); }
static void Init() { // Get existing open window or if none, make a new one: LevelEditorWindow window = (LevelEditorWindow)EditorWindow.GetWindow(typeof(LevelEditorWindow)); window.Show(); }
static void Init() { //Cria uma nova Window caso não tenha uma aberta LevelEditorWindow window = (LevelEditorWindow)EditorWindow.GetWindow(typeof(LevelEditorWindow)); window.titleContent.text = "Level Editor"; window.minSize = new Vector2(Constants.minWindowWidth, Constants.minWindowHeight); window.Show(); }
static void Init() { LevelEditorWindow window = (LevelEditorWindow)EditorWindow.GetWindow(typeof(LevelEditorWindow)); window.Show(); }