public static void HideAllAndClean(List <WindowBase> except, System.Action callback = null) { WindowSystem.HideAll(except, () => { WindowSystem.Clean(except); if (callback != null) { callback(); } }); }
/// <summary> /// Hides all and clean. /// </summary> /// <param name="except">Except.</param> /// <param name="callback">Callback.</param> public static void HideAllAndClean(List <WindowBase> except, System.Action callback = null, bool forceAll = false, bool immediately = false) { WindowSystem.HideAll(except, () => { WindowSystem.Clean(except, forceAll); if (callback != null) { callback(); } }, forceAll, immediately); }
public static void HideAllAndClean(WindowBase except = null) { WindowSystem.HideAll(except, () => { WindowSystem.Clean(except); }); }