#we can make a thread to keep it
1 messages · Page 1 of 1 (latest)
I was more of wanting to not post pictures in talk cause I dont remember if its against the rules
posting pictures is fine no worrys 🙂
you want to add sound to some animation?
or controll the sound via the animator?
okay so I wanna make gun go boom boom
it has a rotating cylinder and a muzzle flash ish but not im wanting to make the sound work
if you want to play a sound on a specific frame of an animation
using an Animation Event is a good option
https://docs.unity3d.com/Manual/script-AnimationWindowEvent.html
it allows you to define where in the animation you want to call a speific function
then you can play the sound from there
sure