Two sliders are using the same function on a GameObject. I want to assign the slider’s value to one of two variables in the function depending on which slider is currently being changed. Is there a way from inside that function to identify which slider is calling it?
(I’m using JavaScript.)