Wiki
Clone wikiUnity-UI-Extensions / Controls / ReturnKeyTrigger
ReturnKeyTrigger
==============
Enables you to bind the return key within an InputField control to a button, also supports toggling the highlight of a control or field.
Contents
1 Overview
2 Usage
4 See also
Overview
If you want to enable a user to use the Return key on finishing entering in a field, the same as a web style control or Submit, this will enabling binding that action to a UI button (aka submit button). It also allows you to hind to a Highlight effect on the field (e.g. a red highlight for mandatory fields) which will enable/disable based on the submit action.
Usage
Either add the "ReturnKeyTrigger" component to an existing UI InputField control, or create an Empty GameObject and add the "ReturnKeyTrigger" component which will automatically add an Input field using the path below:
- UI / Extensions / Return Key Trigger
Video Demo
tbc
See also
N/A
Credits and Donation
Melang
External links
N/A
Updated