Check when value has changed

Hi, i am trying to build some audio manager and only when i move the bar the volume suppose to change.
I want to check if the value has changed and then do something.
It’s look like a waste to use the function Update to check every frame if something happend.
There is any other way?

If it’s from a slider, you can use the OnValueChanged unity event.

Worked, thanks.

No problem. :slight_smile: