Its a small code can be used at runtime/gameplay to control various settings of gameplay like music loudness change, player speed change, etc…, based on your needs. you can found code at github:
https://github.com/saravanan2020/Unity3d-Knob-Controller

Just press, hold and drag the knob up/down to change light intensity, shadow strength.

