Enhanced InputField control for forms, enables Enter to submit and other features
1 Overview
3 Methods
4 Usage
6 See also
Enhanced InputField control for forms, enables Enter to submit and other features
This control has no configurable properties in the inspector.
| Method | Arguments | Description |
|---|---|---|
| buttonPressed | N/A | Call this method from a button’s onClick event to submit the input field |
Simply add the component to an existing InputField using:
“Add Component -> UI -> Extensions -> InputFocus”
Assign the component to an Input field, set the OnEndEdit function to the one in this script and the Click event for the submit button to the buttonPressed function.
N/A
N/A
Zelek