public void PlayDefaultAudio(bool On) { if (On == true) { AudioSource.PlayOneShot(DefaultAudio); TapText.SetActive(false); } else { DefaultAudio...... // insolved }
is there a way to disable the audio ? what i want is when the player die the default audio stops and the gameover audio plays and im accessing this Function through other scripts so what i do is i cchange the bool on of !on any help 🙂 ?