Hello!
I am trying to control volume with a slider.
My function is:
public void SetVolume(float volume)
{
Debug.Log(volume);
}
I add the script to an empty game object I call Settings Menu Controller.
I go down to the On Value Changed () part section of the inspector of the Slider game object.
I add the Settings Menu Controller gameObject here.
Under the drop down menu, the function shows but the dynamic float does not…
What am I doing wrong…