static void Init() { // Get existing open window or if none, make a new one: LevelBuilderWindow window = (LevelBuilderWindow)EditorWindow.GetWindow(typeof(LevelBuilderWindow)); window.Show(); }
public static void Open() { windowInstance = GetWindow <LevelBuilderWindow>(false, "Level Builder"); windowInstance.Show(); windowInstance.Focus(); }