Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to read from an input unity

//Get the input field.
var inputField = GameObject.Find("Input Filed Name");

// Get the text
var child = inputField.transform.Find("Text");
var text = child.GetComponent<Text>().text;
 
PREVIOUS NEXT
Tagged: #read #input #unity
ADD COMMENT
Topic
Name
7+4 =