techead
New Member
Posts: 15
Posts: 15
|
Post by techead on Jul 7, 2015 19:15:36 GMT
Hi,
I'm Using the NGUI Support scrip (ButtonClicker.cs and the EventSound.cs) for my UI SFX implementation.
I'm using NGUI Mouse Click field only.
I have notices that the button click SFX triggers are after the button is released. Does Master Audio support "Onclick" when the button is clicked?
With using these scripts i see that the sounds are delayed.
Unity 4.6.5p4 - Master Audio version 3.5.7.7
Thanks Mark Hollier
|
|
|
Post by DarkTonic Dev on Jul 8, 2015 0:45:08 GMT
That's how OnClick works.
To play a sound the instant something is clicked (down) on, use the Mouse Down event on the same script.
|
|
techead
New Member
Posts: 15
Posts: 15
|
Post by techead on Jul 8, 2015 17:31:31 GMT
Awesome thanks.
|
|
|
Post by DarkTonic Dev on Jul 8, 2015 18:13:45 GMT
No problem
|
|