I want to check if the player entered the right word in a
GUI.Textfield(new Rect(x, x, x, x), x, x);
I’ve tried:
if(CorrectAnswer1 == "paspoort"){
GUI.Toggle(new Rect(x, x, x, x,), x, x);
}
However, this doesn’t seem to work. And although I don’t get any errors. It won’t show me the checked toggle button I want.
I’d be really great if someone could help me. The script has to do with Dutch word checking. Therefor one might not understand the word “paspoort”.