Question by
Numonic · Jun 02, 2017 at 03:34 AM ·
c#unity 5programming
How can I have a life added bar every time I reach 5000 points
I have a character that has 3 lives as one mode and get killed instantly if hit ,but when he is in another lets say supermode he has a life bar. When he's in this mode a bar is removed from it.
code in the case switch 1 and 2 are a bit different as I've been testing and altering for hours. Not able to get it to work.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612123320im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why is my script not working 1 Answer
Horizontal Input showing random decimal when it should be 0 0 Answers
Need help with c# 1 Answer
Delete item in inventory 0 Answers
Lerping Camera Between Two Points 0 Answers