C# Unity - How can I clear an InputField
<p>I want to clear an InputField in Unity, but I cant get it to work. What I do now is:<br>
    <code>public InputField inputfieldname;
    inputfieldname.text = "";</code></p>

<p>but then it doesnt clear the field until you select it. Is it possible to clear the field totally just by code?</p>

<p>Thanks in advance!
Ablos</p>