---
title: "Module 5 Videos"
content_type: tutorial
url: "https://learn.unity.com/course/programming-interactions-with-c-scripting-in-unity/unit/module-5-ui/tutorial/module-5-videos-2?language=en"
language: en
container_type: course
container_title: "Programming Interactions with C# Scripting in Unity"
container_url: "https://learn.unity.com/course/programming-interactions-with-c-scripting-in-unity.md?language=en&version=6.0"
unit_title: "Module 5:  UI"
unit_url: "https://learn.unity.com/course/programming-interactions-with-c-scripting-in-unity/unit/module-5-ui?language=en&version=6.0"
standalone_markdown_url: "https://learn.unity.com/tutorial/module-5-videos-2.md?language=en&version=6.0"
previous_title: "Module 4 Challenge"
previous_url: "https://learn.unity.com/course/programming-interactions-with-c-scripting-in-unity/unit/module-4-projectile-setup/tutorial/module-4-challenge-3?language=en&version=6.0"
previous_markdown_url: "https://learn.unity.com/course/programming-interactions-with-c-scripting-in-unity/unit/module-4-projectile-setup/tutorial/module-4-challenge-3.md?language=en&version=6.0"
next_title: "Module 5 Assessment"
next_url: "https://learn.unity.com/course/programming-interactions-with-c-scripting-in-unity/unit/module-5-ui/quiz/module-5-assessment-2?language=en&version=6.0"
next_markdown_url: "https://learn.unity.com/course/programming-interactions-with-c-scripting-in-unity/unit/module-5-ui/quiz/module-5-assessment-2.md?language=en&version=6.0"
difficulty: intermediate
duration_minutes: 30
unity_version:
  - "6.0"
supported_unity_versions:
  - name: "6.0"
    url: "https://learn.unity.com/course/programming-interactions-with-c-scripting-in-unity/unit/module-5-ui/tutorial/module-5-videos-2.md?language=en&version=6.0"
last_updated: "2026-08-04T14:24:53.000Z"
---

# Module 5 Videos

Design and script in-game UI with TextMesh Pro, dynamic score updates, singletons, and toggleable menus.

_This module covers the creation and management of in-game UI elements. Learners will design a score display, update UI values dynamically, and implement functionality to toggle menus during gameplay using Unity’s UI components and scripting techniques._

By the end of this module, learners will be able to:

- Design and implement a score UI using Text Mesh Pro.
- Update UI values dynamically based on gameplay events.
- Use the singleton pattern to manage UI elements effectively.
- Toggle menus during gameplay using Unity scripting.

## 1. Creating the Score UI

[Video](https://connect-mediagw.unity.com/h1/20250327/videos/5681af1b-f480-4d77-ad90-86cb81bc4c4a_M5_01_creating_the_score_UI.mp4)

## 2. Updating the Score UI

[Video](https://connect-mediagw.unity.com/h1/20250327/videos/8244cd83-46f4-4c65-b085-c2a2d7fb99eb_M5_02_updating_the_score_UI.mp4)

## 3. Showing the Main Menu During Gameplay

[Video](https://connect-mediagw.unity.com/h1/20250327/videos/835f86a7-ac67-4ef8-b263-f37d0d693bd3_M5_03_showing_the_main_menu_during_gameplay.mp4)

## 4. Troubleshooting the Main Menu Navigation

[Video](https://connect-mediagw.unity.com/h1/20250327/videos/f3baf3d3-033c-438a-9a80-afaffa356c2c_M5_04_torubleshooting_the_main_menu_navigation.mp4)
