I have been looking other topics, searching web, this UISlider seems to changed alot in time. I just followed many example, all of them was failure.

, so I deciced to ask.
All I need to get the change in slider;
I made a test script, attached to a slider, but nothing happens when the slider changes. Can someone guide me ? Regards.
private UISlider uiSlider;
void Awake(){
uiSlider = this.gameObject.GetComponent<UISlider>() as UISlider;
}
void OnValueChange (float val){
Debug.Log("Slider Test: " + val.ToString());
}