I am using NGUI kit in Unity3D to build a progress bar. UISlider script has the value ranging from 0 to 1 to control the slider.
My script is on the same object and i am using this way to set its value according to time (60sec).
this.gameObject.GetComponent().sliderValue = _______ ;
But it is not getting it done. Kindly help me out.