- Home /
Question by
nickking92 · Feb 03, 2018 at 03:01 PM ·
audiosourcebuttonsscrollpanelsounds
Scroll rect sound problem
Hello,
I created horizontal scroll panel with list of buttons,the problem i cant figure out is when i click on button,it makes sound but when i scroll left or right continues playing on the next items.What i want is sound to stop when i scroll to the next.I guess that could be changed with on OnValueChanged in scroll rect script,but i have no idea how to do it.Any solution?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612151843im_/https://answers.unity.com/themes/thub/images/avi.jpg)