Download

Setting up a firing function to play sound?

How do I play a sound wave or sound cue for my firing function? I keep getting confused on how to set it up. Such as referencing the sound file and using UAudioComponent. I have also seen UGameplayStatics::PlaySoundAtLocation but don’t know how to use it properly either. Is it possible to see a complete example?