コード例 #1
0
        public static void HideAllAndClean(List <WindowBase> except, System.Action callback = null)
        {
            WindowSystem.HideAll(except, () => {
                WindowSystem.Clean(except);

                if (callback != null)
                {
                    callback();
                }
            });
        }
コード例 #2
0
        /// <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);
        }
コード例 #3
0
 public static void HideAllAndClean(WindowBase except = null)
 {
     WindowSystem.HideAll(except, () => {
         WindowSystem.Clean(except);
     });
 }