private void OnShowEntitySuccess(object sender, GameFramework.Entity.ShowEntitySuccessEventArgs e) { if (m_EnableShowEntitySuccessEvent) { m_EventComponent.Fire(this, new ShowEntitySuccessEventArgs(e)); } }
//显示实体成功的回调 private void OnShowEntitySuccess(object sender, GameFramework.Entity.ShowEntitySuccessEventArgs e) { if (m_EnableShowEntitySuccessEvent) { m_EventComponent.Fire(this, ReferencePool.Acquire <ShowEntitySuccessEventArgs>().Fill(e)); } }
private void OnShowEntitySuccess(object sender, GameFramework.Entity.ShowEntitySuccessEventArgs e) { m_EventComponent.Fire(this, ShowEntitySuccessEventArgs.Create(e)); SetEntityTcs(e.Entity.Id, e.Entity); EntityTcsDict.Remove(e.Entity.Id); }
private void OnShowEntitySuccess(object sender, GameFramework.Entity.ShowEntitySuccessEventArgs e) { m_EventComponent.Fire(this, ShowEntitySuccessEventArgs.Create(e)); }