void setShift(IGun weapon) { LivingEntity attachedShip = gameObject.GetComponent <LivingEntity>(); weapon.setShift(attachedShip.isLight); }
void setShift(IGun weapon) { LivingEntity attachedShip = gameObject.GetComponent <LivingEntity>(); weapon.setShift(attachedShip.isLight); }