Example #1
0
    public void ModalYesFunction()
    {
        AudioClip clip = UISound[Random.Range(0, UISound.Length - 1)];

        AudioSource.PlayClipAtPoint(clip, transform.position, UISoundVolume);

        BuyOrSelectCharacter(characterChoice);
        modalPanel.ClosePanelSuccess();
    }