private void OnSongLoaded() { rhythmTool.Play(); }
//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); }
void OnSongLoaded() { rhythmtool.Play(); }
void OnSongLoaded() { rhythmtool.Play(); SongStarted = true; }
private IEnumerator StartWait(float wait) { yield return(new WaitForSeconds(wait)); rhythmTool.Play(); }
private IEnumerator PlaySong() { yield return(new WaitForSeconds(1f)); rhythmTool.Play(); }