Hi I’m trying to script a sound effect a small zap.wav in Unity 5.4
I’ve been looking at guides for hours, everything I’ve tried to play an attached wav file to a game object just fails with no sound output on collision or I get a lot of compiler errors telling me functions are depreciated.
What is the current code for playing an attached sound effect on collision?
Thanks