Hey, I've been creating a fps game for a while now and I wanted to add sound to the sparks... Anyone how I can easy add sound to it when it appears ( when I shoot ).
Thanks, SimpleOne.
Hey, I've been creating a fps game for a while now and I wanted to add sound to the sparks... Anyone how I can easy add sound to it when it appears ( when I shoot ).
Thanks, SimpleOne.
Just add an AudioSource and AudioClip, and trigger Play when you need to.
I've added a AudioSource and a AudioClip but I can't get it to play the sound when I want to... ( when I shoot ).
I used this script... didn't work either :(
var shot: AudioClip;
audio.clip = shot;
audio.Play();
You need a script to do that...
– AVividLightOr an Animation Event, but more likely a script.
– DaveA