This video demonstrates how to set up a health system and health bar in a 2D platformer game in Unity.
Code for this tutorial -
Health script: github.com/danielkwood/Unity2...
HealthBar script: github.com/danielkwood/Unity2...
Updated PlayerController script: github.com/danielkwood/Unity2...
Unity website - unity.com
GitHub - github.com/danielkwood/Unity2...
Free Pixel Space Platform Pack - assetstore.unity.com/packages...
18 окт 2021