/// <summary>
        /// 设置界面辅助器
        /// </summary>
        /// <param name="uiFormHelper">界面辅助器</param>
        public void SetUIFormHelper(UIFormHelperBase uiFormHelper)
        {
            if (uiFormHelper == null)
            {
                Debug.LogError("要设置的界面辅助器为空");
            }

            m_UIFormHelper = uiFormHelper;
        }
        public UIFormInstanceObject(string name, object uiFormAsset, object uiFormInstance, UIFormHelperBase uiFormHelper) : base(uiFormAsset, name)
        {
            if (uiFormAsset == null)
            {
                Debug.LogError("用来构造界面实例对象的资源名称为空");
            }

            if (uiFormHelper == null)
            {
                Debug.LogError("用来构造界面实例对象的辅助器为空");
            }

            m_UIFormAsset  = uiFormAsset;
            m_UIFormHelper = uiFormHelper;
        }
        public UIManager()
        {
            m_UIGroups                    = new Dictionary <string, UIGroup>();
            m_UIFormsBeingLoaded          = new List <int>();
            m_UIFormAssetNamesBeingLoaded = new List <string>();
            m_UIFormsToReleaseOnLoad      = new HashSet <int>();
            m_RecycleQueue                = new LinkedList <UIForm>();

            m_ObjectPoolManager         = FrameworkEntry.Instance.GetManager <ObjectPoolManager>();
            m_InstancePool              = m_ObjectPoolManager.CreateObjectPool <UIFormInstanceObject>(16, 60f);
            InstanceAutoReleaseInterval = 60f;

            m_ResourceManager    = FrameworkEntry.Instance.GetManager <ResourceManager>();
            m_LoadAssetCallbacks = new LoadAssetCallbacks(LoadUIFormSuccessCallback, LoadUIFormDependencyAssetCallback, LoadUIFormFailureCallback, LoadUIFormUpdateCallback);

            m_UIFormHelper = null;
            m_Serial       = 0;
        }