Introduction to Unity UI – Part 3 |

In the final part of our three-part tutorial series, you’ll learn how to integrate Unity UI into a working game.

This is a companion discussion topic for the original entry at

Firstly, thank you for wonderful tutorial :slight_smile: I have a trouble. I couldn’t adjust master volume by using VolumeSlider. i have made “On Value Changed()” section as you show. But when i slide the handle, the master volume suddenly become zero and does not turn back! image How can i use slider properly? Thank you

High @lostbrush thank you for checking out the tutorial :]

It looks like you have selected the wrong function option. The slider will have access to the AudioSource.volume via the Dynamic float option. The option you have selected is passing a reference value, which you have set to 0 there in the inspector. You want the option I have highlighted below.


This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!