I have a button that looks like this:
Button
- text
- InputField
…o Text
…I have added an inputField on top of the button. How do i read the inputField, i guess with GetComponent, without defining it as it’s own property?
I am trying to create a button were the user, in specific situations, can input text. I also need to be able to read the text.
I am experimenting with enable/disable the inputField depending on the situation.