/// <summary> /// Toggles the game sounds /// </summary> public void toggleSound() { if (soundToggle.isOn) { PlayerPersistence.SetSoundToggle(true); } else { PlayerPersistence.SetSoundToggle(false); } }
/// <summary> /// Toggles the game sounds /// </summary> public void toggleSound() { if (soundToggle.isOn) { PlayerPersistence.SetSoundToggle(true); } else { PlayerPersistence.SetSoundToggle(false); } }