private void OnSongLoaded()
 {
     rhythmTool.Play();
 }
示例#2
0
 //OnReadyToPlay is called by RhythmTool after NewSong(), when RhythmTool is ready to start playing the song.
 //When RhythmTool is ready depends on lead and on whether preCalculate is enabled.
 private void OnSongLoaded()
 {
     //Start playing the song
     rhythmTool.Play();
     mainSample.PlayDelayed(3.5f);
 }
示例#3
0
 void OnSongLoaded()
 {
     rhythmtool.Play();
 }
示例#4
0
 void OnSongLoaded()
 {
     rhythmtool.Play();
     SongStarted = true;
 }
    private IEnumerator StartWait(float wait)
    {
        yield return(new WaitForSeconds(wait));

        rhythmTool.Play();
    }
示例#6
0
    private IEnumerator PlaySong()
    {
        yield return(new WaitForSeconds(1f));

        rhythmTool.Play();
    }