Exemplo n.º 1
0
    public void UpdateChallenge()
    {
        challenge.SetChallengeType(phase.currentPhase);
        objChallenge = challenge.GetChallenge(challenge.GetChallengeType());

        challengeScore       = 0;
        challengeScoreResult = objChallenge.Result;

        displayText.SetChallengeText(UpdateChallengeText());

        displayText.SetChallengeAlertTextColor(0.7f, 0.7f, 0.7f, 1f); // gray text

        displayText.SetChallengeAlertText("");

        difficultCounter++;

        CheckIfNeedIncreaseDifficult();
    }