Unity slider methods. Optional RectTransform to use as a handle for the slider.