Ejemplo n.º 1
0
    private void IterateTune(Tune t)
    {
        buttonPressDelayTimer = buttonPressDelay;

        LevelManager.instance.playerUI[(int)control.player - 1].TuneProgressed(t);

        StopAllCoroutines();
        StartCoroutine(TuneTimeOut());

        if (t.IterateTune())
        {
            foreach (Tune x in tunes)
            {
                x.ResetTune();
                LevelManager.instance.playerUI[(int)control.player - 1].TuneReset();
                currentTunes.Clear();
            }
        }
    }
Ejemplo n.º 2
0
    private void IterateTune(Tune t)
    {
        buttonPressDelayTimer = buttonPressDelay;

        LevelManager.instance.GetPlayerUI(control.player).TuneProgressed(t);

        StopAllCoroutines();
        StartCoroutine(TuneTimeOut());

        if (t.IterateTune())
        {
            RegisterNoteCorrect(true);
            foreach (Tune x in tunes)
            {
                x.ResetTune();
                LevelManager.instance.GetPlayerUI(control.player).TuneReset();
                currentTunes.Clear();
            }
        }
    }