Text Input

Description

The Text Input behavior will bring up an alert view and allow the user to enter text. It will trigger an event once the user presses ok, and will output the text the user has entered.

This behavior will trigger once on event.

 

Properties

Title

The title displayed on top of the alert pop up. By default the title is "Enter Text".

Message

A message for the player. This can be an instruction of some kind.

Default Text

This is the text that is already entered for the layer. You can leave it blank so that the keyboard input starts off with no characters. 

Pause Scene

You can choose to pause the scene while the player is typing. You will typically want to pause the scene unless the player is doing a time sensitive action like answer a test question or entering a pass code.

Outputs

User Text

This is the text that was entered by the user after they pressed OK.

 

Examples

You can ask the player for their name and use it through out the game. 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk