public void GetPlayerPrefValues(float lives, float rof, float shield) { shipLives = (int)lives; shieldArmor = (int)shield; attachTurretSystem.SetShotInterval(rof); }