public void ModalYesFunction() { AudioClip clip = UISound[Random.Range(0, UISound.Length - 1)]; AudioSource.PlayClipAtPoint(clip, transform.position, UISoundVolume); BuyOrSelectCharacter(characterChoice); modalPanel.ClosePanelSuccess(); }
public void ModalYesFunction() { AudioClip clip = UISound[Random.Range(0, UISound.Length - 1)]; AudioSource.PlayClipAtPoint(clip, transform.position, UISoundVolume); BuyOrSelectCharacter(characterChoice); modalPanel.ClosePanelSuccess(); }