- Home /
Question by
Christian.Tucker · Mar 24, 2015 at 07:45 AM ·
ui
How to obtain a value from a InputField (Password | Non-masked)
Previously (Early versions of 4.6) the InputField component had a value
field that contained the value of the text in the password field, unfortunately when updating to 5.0 I've lost that value. I've tried using text
but it just returns the data in masked format. The InputField is set to a password input mode, and passwords are being returned like so:
*************
From reading the scripting reference it seems like text
is the only way to get the value? http://docs.unity3d.com/ScriptReference/UI.InputField.html
Comment
Answer by myddt · Aug 30, 2017 at 08:38 AM
You should declarer public InputField yourInPutField; intead of public Text yourInPutField;
Your answer
