/// <summary>
        /// 创建资源更新失败事件。
        /// </summary>
        /// <param name="e">内部事件。</param>
        /// <returns>创建的资源更新失败事件。</returns>
        public static ResourceUpdateFailureEventArgs Create(GameFramework.Resource.ResourceUpdateFailureEventArgs e)
        {
            ResourceUpdateFailureEventArgs resourceUpdateFailureEventArgs = ReferencePool.Acquire <ResourceUpdateFailureEventArgs>();

            resourceUpdateFailureEventArgs.Name            = e.Name;
            resourceUpdateFailureEventArgs.DownloadUri     = e.DownloadUri;
            resourceUpdateFailureEventArgs.RetryCount      = e.RetryCount;
            resourceUpdateFailureEventArgs.TotalRetryCount = e.TotalRetryCount;
            resourceUpdateFailureEventArgs.ErrorMessage    = e.ErrorMessage;
            return(resourceUpdateFailureEventArgs);
        }
 private void OnResourceUpdateFailure(object sender, GameFramework.Resource.ResourceUpdateFailureEventArgs e)
 {
     m_EventComponent.Fire(this, ResourceUpdateFailureEventArgs.Create(e));
 }