//-------------------------------------------------------------------------------------------------------------- void UiBullet.IBulletHandler.OnCollideBullet(UiBullet bullet) { if (bullet == null) { return; } var dam = bullet.Damage; var door = UiDoor.Door; door.TakeDamage(dam); }
public virtual void OnCollideBullet(UiBullet bullet) { }