I was wondering if I could get any help and advice regarding creating a stamina gauge in C#.
I want to create a (full) stamina gauge and when the player uses a attack, it deplets it temporarily until the timer has deceased and the player can use the attack function again. This would be for a UNITY 2D Side-Scroller.
This way in my game, players would know how often they can attack with this. Any help and advice would be much appreciated.