static void Init() { GameDataEditor window = (GameDataEditor)EditorWindow.GetWindow(typeof(GameDataEditor)); window.maxSize = new Vector2(1920, 1080); window.minSize = new Vector2(300, 1000); window.Show(); }
static void Init() { // creating a editor windows of the Game Data Editor Type (GameDataEditor:EditorWindow:ScriptableObject) GameDataEditor window = (GameDataEditor)EditorWindow.GetWindow(typeof(GameDataEditor)); // customise window title GUIContent title = new GUIContent(); title.text = "Data Editor"; window.titleContent = title; // show window window.Show(); }
static void Init() { GameDataEditor window = (GameDataEditor)EditorWindow.GetWindow(typeof(GameDataEditor)); window.Show(); }
static void Init() { GameDataEditor window = (GameDataEditor)GetWindow(typeof(GameDataEditor), true, "Game Editor"); window.Show(); }