コード例 #1
0
 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();
    }