public static void OpenMenu() { window = (CreateNewGameLevelMenu)GetWindow(typeof(CreateNewGameLevelMenu), false, "Create New Level"); window.gameLevelData = GameLevelToolkitWindow.GetGameLevelsData(); }
private void CreateNewLevel() { CreateNewGameLevelMenu.OpenMenu(); }