#unity #how #to #make #ui #code #naming #behavior How to make character naming Code in the Unity? The Code defines what the game engine should do. So the more complex scenarios we use, the more we Code. Pre-conditions: - Unity - 2D project template To repeat: 1. In the “Assets“ project directory create “Scripts“ folder 2. In the folder call Context menu - Create - C# Script 3. Rename it to “Rename“ 4. Double click it to open 5. Remove everything between “{“ and “}“ curly braces 6. Write lines: public Text name; public InputField naming; public void Nick() { = ; }
Hide player controls
Hide resume playing