Exemple #1
0
    // Called with Invoke() in Start()
    // ReSharper disable once UnusedMember.Local
    private void delayedSongStart()
    {
        source.Play();
        songStarted = true;

        SongTimer.sourceToSampleTimeFrom = source;
        SongTimer.StartSong(128f, DelayForBeats);

        _rhythmStartTime = source.time;
    }
Exemple #2
0
    // Use this for initialization
    void Start()
    {
        if (DEBUG_StartSongTimer)
        {
            SongTimer.StartSong(DEBUG_BPM);
        }

        if (DEBUG_InitControllerOnStart)
        {
            _initializeController();
        }
    }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     Debug.LogWarning("[CanvasHandler] Needs to pass the songs bpm the timer, not a hardcoded float.");
     SongTimer.StartSong(128f);
 }