Unity UI Extensions

InputFocus

Enhanced InputField control for forms, enables Enter to submit and other features


Contents

1 Overview

2 Properties

3 Methods

4 Usage

5 Video Demo

6 See also

7 Credits and Donation

8 External links


Overview

Enhanced InputField control for forms, enables Enter to submit and other features


Properties

This control has no configurable properties in the inspector.


Methods

Method Arguments Description
buttonPressed N/A Call this method from a button’s onClick event to submit the input field

Usage

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.

Video Demo

N/A


See also

N/A


Credits and Donation

Zelek


Sourced from