private void Start() { if (UpgradeController.GetSoundStatus() == 0) { StartDefeat(); } else { StopDefeat(); } }
private void Start() { if (UpgradeController.GetSoundStatus() == 0) { StartMenuSound(); } else { StopMenuSound(); } }
private void Start() { if (UpgradeController.GetSoundStatus() == 0) { StartAmiente(); } else { StopAmbiente(); } }
private void Start() { print(UpgradeController.GetSoundStatus()); if (UpgradeController.GetSoundStatus() == 0) { StartShopMusic(); } else { StopShopMusic(); } }
private void Start() { if (UpgradeController.GetSoundStatus() == 0) { sound.GetComponent <Image>().sprite = unmute; StartMenuSound(); } else { sound.GetComponent <Image>().sprite = mute; StopMenuSound(); } }
public void ToggleSound() { if (UpgradeController.GetSoundStatus() == 0) { sound.GetComponent <Image>().sprite = mute; UpgradeController.SetSoundStatus(1); StopMenuSound(); } else { sound.GetComponent <Image>().sprite = unmute; UpgradeController.SetSoundStatus(0); StartMenuSound(); } }