// Use this for initialization void Start() { // Set the high score setHighScore(SaveGameManager.getSavedHighScore()); // Set the look sensitivity to be the same as the saved mouse sensitivity lookSensitivity = SaveGameManager.getSavedMouseSensitivity(); print(lookSensitivity); print("Motion Blur On: " + SaveGameManager.getSavedMotionBlurToggle()); // Set the volume of the audio listener based on the save data AudioListener.volume = SaveGameManager.getSavedAudioVolumeValue(); print("Volume: " + AudioListener.volume); }
public override void updateHUDContent() { // Set the content of the high score text object // to be the same as the saved high score highScoreText.text = SaveGameManager.getSavedHighScore().ToString(); }