Ejemplo n.º 1
0
    void setShift(IGun weapon)
    {
        LivingEntity attachedShip = gameObject.GetComponent <LivingEntity>();

        weapon.setShift(attachedShip.isLight);
    }