A downloadable guide

Get this guide and 4 more for $30.60 USD
View bundle
Buy Now
On Sale!
15% Off
$5.00 $4.25 USD or more

The Unity UGUI Guide on
Input Fields

This 14-page guide leads you through everything you need to know about Unity’s Input Field component. We start by creating a TextMesh Pro Input Field in the hierarchy, go through it's component's setup (Placeholder and Text child elements, Control Settings, Unity Events), and learn how to capture input on submit by pressing enter and via button clicks. Illustrated examples show you how to set character limits, choose content types (Name, Email, Decimal, Password, Pin,...), toggle visibility of sensitive input, change the asterisk character, and customize the blinking caret .

This guide is full of example use cases, screenhsots and explanations from the basic set up all the way to creating a custom validator.  By the end, you’ll have a robust understanding for handling any text-input scenario in your game .

Things you will learn:

  • How to create and configure a TMP_InputField component in your Canvas
  • Capturing player input via onSubmit (Enter key) and button clicks
  • Setting character limits, content types (Standard, Name, Email, Decimal, Password, Pin), and restoring placeholders on ESC
  • Toggling visibility for passwords and pins, and customizing the asterisk character
  • Enabling or disabling rich-text editing and customizing the caret appearance
    Handling different use cases: single-line vs. multi-line inputs, mobile keyboard types, and input validation with built-in and custom validator

Contains:

  • 14-page PDF Guide with detailed chapters, tables, tons of images, and reusable code samples
  • Link to Source Code on GitHub (MIT License)
  • Unity Package including an example scene and all scripts, ready to import and experiment with (created in Unity 6, version 6000.0.4f1f)

Purchase

Get this guide and 4 more for $30.60 USD
View bundle
Buy Now
On Sale!
15% Off
$5.00 $4.25 USD or more

In order to download this guide you must purchase it at or above the minimum price of $4.25 USD. You will get access to the following files:

[Christina Creates Games] - The Unity UGUI Guide on Input Fields.zip 5.1 MB

Leave a comment

Log in with itch.io to leave a comment.