public static void OpenWindow() { if (window == null) { window = GetWindow <MakakaGamesWelcomeScreen> (true, windowHeaderText, true); window.maxSize = window.minSize = windowsSize; } }
public static void OpenWindow() { if (wnd != null) { return; } wnd = GetWindow <MakakaGamesWelcomeScreen> (true, windowHeaderText, true); wnd.maxSize = wnd.minSize = windowsSize; }
private void OnDestroy() { wnd = null; EditorPrefs.SetBool(PREFSHOWATSTARTUP, false); }
private void OnEnable() { wnd = this; }
private void OnDestroy() { window = null; EditorPrefs.SetBool(isShowAtStartEditorPrefs, false); }
private void OnEnable() { window = this; }