I try to set text in InputField, but it's dont change correctly. I can see new value on text field in editor, but not for user. After lose/set focus on element text field is update. Code is so simple that i dont know what to do.
public InputField Text;
private volatile string _oldValue;
public void OnTextChange(string text)
{
if (_oldValue == Text.text)
return;
_oldValue = Text.text + "1";
Text.text = _oldValue;
}