Пример #1
0
    public void UpdateProgress(Outcome activator)
    {
        if (ActivatedOutcomes.Contains(activator))
        {
            return;
        }

        puzzlesSolved++;

        if (puzzlesSolved >= puzzlesToSolve)
        {
            StartCoroutine(OverTime.FadeVolume(musicPlayer, fadeDuration));
            outcome.Activate();
        }
    }