- Home /
recharging value?
Hello. How can I have a value that increases by a set amount each set interval of time until it reaches a maximum (its for a recharging power meter)? Also, how can I have each value correspond to a GUI texture (so I can actually show the player how long until the power is recharged)? Thanks.
Comment
If you're going to post the same question both here and on the forums, it'd be nice if you cross-linked both questions so that people don't waste their efforts responding. (I responded to your forum thread.)
Your answer
![](https://koobas.hobune.stream/wayback/20220613090041im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using Static Value? 1 Answer
Pass values between scenes 3 Answers
Static Variable Doesn't Change ? 0 Answers
How can I edit my static variable in the editor? 1 Answer
Serialisation... What can, what can't? 2 Answers