- Home /
Script for play audioclip on every object in the game by mouse click
I need a script on character that permit me to play the audioclip that I add on every object in game. I would avoid to insert a script for every object. It's possible? Thank you for your time... I'm a Rookie of Script...
Every object has a different audioclip. I'm devlolpping a first person game, and I would listen a different audioclip for every object after my click. It's possible to do this directly on the character? Thank You
$$anonymous$$ake a Central Audio $$anonymous$$anager. Each GameObject can link to the manager, the manager can link to the player.
Ok, but I want start audio clip when I click on the object. Which the script is? Thanks
Your answer
![](https://koobas.hobune.stream/wayback/20220613155900im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Animation play error. No animation attached. 3 Answers
Help touch button 1 Answer
Start Animation On Trigger 2 Answers
Destroy all GameObjects EXCEPT some... 2 Answers
How to make object move and rotate 1 Answer