void ShipDamaged(ShipDamagedEvent e) { if (e.Ship.tag == "Player" && e.Ship.GetComponent <IDamageable>().CurrentHealth < 0f) { Destroy(e.Ship.GetComponent <IChassis>().SchematicUIClone); } }
void EngagedByEnemy(ShipDamagedEvent e) { if (target == null) { return; } targetLastSeen = target.transform.position; }