//--------------------------------------------------------------------------------------------------------------

        void UiBullet.IBulletHandler.OnCollideBullet(UiBullet bullet)
        {
            if (bullet == null)
            {
                return;
            }

            var dam  = bullet.Damage;
            var door = UiDoor.Door;

            door.TakeDamage(dam);
        }
示例#2
0
 public virtual void OnCollideBullet(UiBullet bullet)
 {
 }