This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Author: themehrankhan | |
using UnityEngine; | |
using UnityEngine.UI; | |
/// <summary> | |
/// A health bar that is represented by a slider UI element. | |
/// It can be used to display the player's current health in the game. | |
/// | |
/// To use the health bar, simply attach this script to a game object in your scene |