/// <summary>
        /// 初始化显示实体时加载依赖资源事件的新实例。
        /// </summary>
        /// <param name="e">内部事件。</param>
        public ShowEntityDependencyAssetEventArgs(GameFramework.Entity.ShowEntityDependencyAssetEventArgs e)
        {
            ShowEntityInfo showEntityInfo = (ShowEntityInfo)e.UserData;

            EntityId            = e.EntityId;
            EntityLogicType     = showEntityInfo.EntityLogicType;
            EntityAssetName     = e.EntityAssetName;
            EntityGroupName     = e.EntityGroupName;
            DependencyAssetName = e.DependencyAssetName;
            LoadedCount         = e.LoadedCount;
            TotalCount          = e.TotalCount;
            UserData            = showEntityInfo.UserData;
        }
        /// <summary>
        /// 创建显示实体时加载依赖资源事件。
        /// </summary>
        /// <param name="e">内部事件。</param>
        /// <returns>创建的显示实体时加载依赖资源事件。</returns>
        public static ShowEntityDependencyAssetEventArgs Create(GameFramework.Entity.ShowEntityDependencyAssetEventArgs e)
        {
            ShowEntityInfo showEntityInfo = (ShowEntityInfo)e.UserData;
            ShowEntityDependencyAssetEventArgs showEntityDependencyAssetEventArgs = ReferencePool.Acquire <ShowEntityDependencyAssetEventArgs>();

            showEntityDependencyAssetEventArgs.EntityId            = e.EntityId;
            showEntityDependencyAssetEventArgs.EntityLogicType     = showEntityInfo.EntityLogicType;
            showEntityDependencyAssetEventArgs.EntityAssetName     = e.EntityAssetName;
            showEntityDependencyAssetEventArgs.EntityGroupName     = e.EntityGroupName;
            showEntityDependencyAssetEventArgs.DependencyAssetName = e.DependencyAssetName;
            showEntityDependencyAssetEventArgs.LoadedCount         = e.LoadedCount;
            showEntityDependencyAssetEventArgs.TotalCount          = e.TotalCount;
            showEntityDependencyAssetEventArgs.UserData            = showEntityInfo.UserData;
            return(showEntityDependencyAssetEventArgs);
        }