Exemplo n.º 1
0
    public void ValueChangeCheck(string _text)
    {
        if (in_typ_test && !testStarted)
        {
            testStarted = true;
            SetTestTime();
        }

        if (_text == TextChanger.Get_Characters(currentText, _position, _text.Length))
        {
            input_text.color = normal;
            if (_text.Contains(" "))
            {
                CompleteWord(_text);
            }
        }
        else
        {
            typo_made        = true;
            input_text.color = wrong;
        }
        Set_text_field(currentText);
    }