Example #1
0
    void InitializeCardNotes()
    {
        buttonClickedSound = Resources.Load <AudioClip>("Music/button_clicked_sound");
        cardNotes          = Resources.LoadAll <AudioClip>("Music/CardNotes");
        composer           = new Composer(cardNotes.Length);

        foreach (AudioClip ac in cardNotes)
        {
            composer.AddNote(ac.name);
        }
    }