Am new to NGUI , I liked the way you can change fill amount of a filled sprite in a game , I know I can do that manually in the inspector but how would I do it through scripting?
I am making a health bar and I want to make a script that reduces the the sprite due to damage.
I can't seem to get to that UIScript and to that fillAmount variable.
thanks.