- Home /
Adding Sound To My Sword Swing Animation
I have a the animation set up for my right click but i cant figure out how to add my sound to it. Could u tell me what to type and where to put it cause im very new to javascript where do i put it in between like function update and start thing
ps sorry for bad english
Are you calling a function to make the sword swing? As in, when the mouse is right-clicked, do SwingSword()?
Answer by PAEvenson · Sep 26, 2012 at 05:39 PM
go here - http://unity3d.com/support/resources/tutorials/video-animation-view#vimeo:11399349
watch Animation Events - you can play the sound through an event on the animation.
Your answer
Follow this Question
Related Questions
Swinging a sword without an animation... 1 Answer
there is no 'animation' attached to the gameobject but a script is trying to access it 2 Answers
Play animation and sound when GUI button is pressed 1 Answer
playing realtime sound in unity's animation window? 1 Answer
How should i properly do sword combat? (Think: M&B/Oblivion/Skyrim) 3 Answers