Unity - How To - Make - Platformer - 4 - UI - Input dialog

Опубликовано: 17 Апрель 2026
на канале: EX-Digits
167
0

How to create simple name input dialog UI in the Unity?

Pre-conditions:
Unity 2019.4.17f1
2D project template

To repeat:
1. Create "SelectNick" empty game object
2. Move "Back" and start Button from "StartMenu" to "SelectNick"
3. Create Input field UI game object and center it
4. Place input field sprite into "Source Image" property in the inspector.
5. Under Input Field set Placeholder fit the field
6. Change its font size in "Font Size" property according the height
7. Set text color in the "Color" property contrasting to the background

Further re-search:
Duplicate the "SelectNick" with Ctrl + D or context menu - "Duplicate"
Rename duplicated "SelectNick" to "SelectCharacter"