Unity - How To - Make - Platformer - 8 - UI - Score

#unity #how #to #make #ui #score #label How to make player score UI in the Unity? Pre-conditions: - Unity - 2D project template To repeat: 0. Attach “Rename“ C# Script to the “OK“ button under the “SelectNick“ 1. Create - UI - Text - “Name“ 2. Resize and place it in the top left corner 3. Change its font size to 24 4. Change its color so that it is as contrasting as possible with the background of the level 5. Clear “New Text“ Input Field in the “Text“ property in the inspector 6. Select “OK“ button 7. Place Input Field UI to button “Naming“ script property in the inspector 8. Place “Name“ UI Text to button “Name“ script property in the inspector 9. Create the new event with “ “ under the “On Click ()“ 10. Move “Rename“ button script into the field 11. Change function to Rename - Nick() 12. Create the new event with “ “ under the “On Click ()“ 13. Move “SelectNick“ game object into the field 14. Change function to GameObject - SetActive(bool) 15. Create the new event with “ “ under the “On Click ()“ 16. Move “SelectCharacter“ game object into the field 17. Change function to GameObject - SetActive(bool) 18. Create the new event with “ “ under the “On Click ()“ 19. Move “SelectCharacter“ game object into the field 20. Check the mark
Back to Top