Unity Tutorials - Platform Game - Part 12 - UI Health and Lives

Опубликовано: 22 Октябрь 2024
на канале: Scripting Is Fun
458
13

We add User Interface (UI) to our game in this video for Health and Lives. For Health we look at how to use a UI Slider to show a health bar.

Topics Covered Include: UI Text, UI Slider, changing the value of a slider, OnTriggerEnter2D, OnCollisionEnter2D, updating text in a UI Text, and others...

Special thanks to subscriber Chris Fritz for creating the sprites for this series - You can download them at http://scriptingisfun.com/IMG_0235

Music: Weird Night by William Rosati