|
Post by 3ddev on Nov 17, 2023 7:57:29 GMT
Hello, I'm currently producing a 3D game. As for the development method of the game currently underway, a related menu is being displayed by clicking on a 3D object. (There is a boxcollider component in the object itself, and after adding IPointerUpHandler and IPointerDownHandler to the script of the object, a pop-up is displayed if a 'click' is judged.)
After applying ambient sound, I think it became impossible to click. Is there a good solution in this case?
|
|
|
Post by DarkTonic Dev on Nov 17, 2023 18:47:25 GMT
I'm not sure Ambient Sound has anything to do with it. You should probably be using Event Sounds script to make a noise from a UI element without any code.
|
|