Up until now, you have been using Debug.Log to output your current Health Level when your main character gets hurt. But players won’t have a Console window to see the log in the final game. So to give them feedback, interactive applications use User Interface (UI for short), which overlays images and text on your Scene to show information. This is also referred to as a Heads-up Display (HUD).
Want to learn more about 2D Game Development with Unity? Connect with an expert Unity dev for a live 1:1 lesson.
Select your Unity version
Last updated: May 20, 2020
Learn to code by making a game. Gain the skills to become Unity Certified.