Пример #1
0
        //==========================================================================================
        #region UILoading管理


        public UILoading OpenLoading(string name, object arg = null)
        {
            Debuger.Log(name);
            UILoading ui = Open <UILoading>(name, arg);

            return(ui);
        }
Пример #2
0
        //==========================================================================================
        #region UILoading管理

        public UILoading OpenLoading <T>(string name, object arg = null) where T : UILoading
        {
            Debuger.Log(name);
            UILoading ui = Open <UILoading>(name, arg, typeof(T));

            return(ui);
        }
Пример #3
0
        public void CloseLoading(string name, object arg = null)
        {
            Debuger.Log(name);
            UILoading ui = GetUI(name) as UILoading;

            if (ui != null)
            {
                ui.Close(arg);
            }
        }