I was wondering how I made unity read the textbox when the user press’ the enter key on the keyboard, so that I can send them to the next scene if they entered the correct answer.
I made the Textfield using an empty game object, and applying the script to it.
for more info on why I’m doing it; I am trying to make a simple text based RPG for educational purposes. I know it might not be the easiest thing to do in unity, but I want to learn unity inside and outside. I thought it would be an interesting project on learning how to manipulate different textboxes, values and buttons
Thank you for taking the Time to read and answer my question!