public static void Open() { if (Instance) { return; } Instance = CreateInstance <ModdingWelcomeWindow>(); Instance.titleContent = new GUIContent("Welcome!"); Instance.Show(); }
private static void OpenModdingWelcomeWindow() { EditorApplication.update -= OpenModdingWelcomeWindow; ModdingWelcomeWindow.Open(); }