Skip to content

Using Text Input Prefab

Aidan Mathieu edited this page Jun 7, 2024 · 1 revision

The TextInput prefab allows the user to click on the object and then edit the text that is displayed on the object. This object can then be used to change the values in other objects such as conveyor or spawn speeds. In this way a player can enter any value that they wish. The object should be given the FirstPersonController object in order to freeze the player when they go to edit the script. The InputField can also be changed to only allow numbers or text, although that is in the normal InputField Parameters. The scripts attached to this prefab can be attached to other objects as wanted to allow player input.

Clone this wiki locally