TMP_Input Field component

The parent TextMeshPro - InputField object has a TMP_Input Field component. It has all the properties common to the interactable UI objects, many of the same properties of the standard UI Input Field, and a few that are exclusive to TextMeshPro - Input Fields. This section will not discuss the properties that TextMeshPro - Input Fields share with UI Input Fields since they were discussed in the previous section, and we will only discuss those that are exclusive to it, as follows:

The Text Viewport property is set to the Rect Transform of the area in which the entered text should be visible. The Rect Transform of ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.