Example #1
0
 /// <summary>
 /// Entity死亡要处理的事
 /// </summary>
 protected virtual void DoEntityDead()
 {
     this.HideBloodBar();            //隐藏血条
     RealEntity.OnDestroyCollider(); //销毁碰撞器
 }
Example #2
0
 /// <summary>
 /// Entity死亡要处理的事
 /// </summary>
 protected virtual void DoEntityDead()
 {
     this.HideXueTiao();
     RealEntity.OnDestroyCollider();
 }