
It uses the game object, which is the slider. It then sets the slider to the max value, which is the health, then sets the value of slider to the health. Very simple script.
Safwan’s Blog for Wild Wild Animals
I must code

It uses the game object, which is the slider. It then sets the slider to the max value, which is the health, then sets the value of slider to the health. Very simple script.