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