DynamicVariable not showing in slider UI object...

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…

Below is a screenshot…


What am I doing wrong…

1 Like

Well it seems to be a bug then…

Here is a place that shows a workaround

I always find the answers to my questions right after I post them

1 Like