After Create new InputField I set “Text” Value, and after when hit Play button “Text” value is empty.
Is there any way to set start Value in “Text” ?
I believe you can set the text on the input component.
InputField inputField = gameObject.GetComponent<InputField>();
inputField.text = "some text";
1 Like
lol
Right, two things
If you want to show some text to the user before they start entering, then set the Text property of the PlaceHolder child component
if you want a default value for the field, then set the Text property of the child Text component.
1 Like
Take a look to this answer. Set default text of an Input Field - Questions & Answers - Unity Discussions