Continuing to Press Higher or Lower

Hi Greg, I also noticed the problem with continuous pressing of Higher or Lower. This is what I came up with as a solution to cover either button.

    public void NextGuess()
    {
        if (max - min >= 0)
        {
            guess = Random.Range(min, max);
            guessText.text = guess.ToString();
        }
    }
4 Likes

Thanks for sharing your solution. :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms