how to grab the value of a slider in unity for script code example Example: how to set value of slider in unity slider.value = newValue