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.