Example #1
0
 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));
     }
 }
Example #3
0
        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);
        }
Example #4
0
 private void OnShowEntitySuccess(object sender, GameFramework.Entity.ShowEntitySuccessEventArgs e)
 {
     m_EventComponent.Fire(this, ShowEntitySuccessEventArgs.Create(e));
 }