Hello, I am learning Unity and NGUI recently so probably this is a really stupid question.
I have a progress bar on my game and it works. Now i have two problems. I know that I can set a value using this code:powerbar.value = 0.9f;
But how to add a value to an existing value? For example if the bar is set to 0.5f add 0.4f and get the value of 0.9f?
And how to decrease this value over time? I don't need a pre-written code, just some tips to get this by myself! Thank you all!!