Esempio n. 1
0
    public void CheckInput()
    {
        int input = int.Parse(output);

        if (input == correctInput)
        {
            text.color = Color.green;
            taskHandler.CheckOffTask(0);
            lockButton.ToggleActivate();
        }
        else
        {
            text.color = Color.red;
        }
    }