/// <summary> /// 初始化资源初始化完成事件的新实例。 /// </summary> /// <param name="e">内部事件。</param> public ResourceInitCompleteEventArgs(GameFramework.Resource.ResourceInitCompleteEventArgs e) { }
/// <summary> /// 填充资源初始化完成事件。 /// </summary> /// <param name="e">内部事件。</param> /// <returns>资源初始化完成事件。</returns> public ResourceInitCompleteEventArgs Fill(GameFramework.Resource.ResourceInitCompleteEventArgs e) { return(this); }
private void OnResourceInitComplete(object sender, GameFramework.Resource.ResourceInitCompleteEventArgs e) { _eventComponent.Fire(this, ReferencePool.Acquire <ResourceInitCompleteEventArgs>().Fill(e)); }