Here is code snippet form my GUI script, it's nice and simple.
I was using Event.current to see if my Hp and Sp values are changing. Later on we will have to modify this script to be able to use Paul's PlayerStats script. Health bar is also dragable same as Inventory window which is giving User an option to position all GUI panels in a way he/she likes it.
And this is how it looks like in the game now.
No comments:
Post a Comment