예제 #1
0
파일: Audio.cs 프로젝트: savasva/Hackathon
    // Update is called once per frame
    IEnumerator Roll()
    {
        Music1.Play();
        yield return(new WaitForSeconds(325f));

        Music2.Play();
        yield return(new WaitForSeconds(230f));

        StartCoroutine(Roll());
    }
예제 #2
0
 void Play2()
 {
     Music2.Play();
 }