/// <summary> /// Toggles the games music /// </summary> public void toggleMusic() { if (musicToggle.isOn) { PlayerPersistence.SetMusicToggle(true); } else { PlayerPersistence.SetMusicToggle(false); } }
/// <summary> /// Toggles the games music /// </summary> public void toggleMusic() { if (musicToggle.isOn) { PlayerPersistence.SetMusicToggle(true); } else { PlayerPersistence.SetMusicToggle(false); } }