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;
 }
Пример #5
0
    private IEnumerator StartWait(float wait)
    {
        yield return(new WaitForSeconds(wait));

        rhythmTool.Play();
    }
Пример #6
0
    private IEnumerator PlaySong()
    {
        yield return(new WaitForSeconds(1f));

        rhythmTool.Play();
    }