🔉Sound Effects
Last updated
Last updated
All sound effects are played via the Audio Source component attached to the character:
FPS Player Sound component is used to play general sounds, not specific to any weapon. Other sounds, like reloads or firing, are played by the weapons - they access the character's Audio Source and play the target sound effect.
Many sounds, like reloads, aiming, walking, or fire mode switching are played via animation events. Events are added directly to the Animation Clip and then are automatically triggered in runtime. There are 2 types of animation events.
This event has an input index parameter, which defines the index of the target sound. In this case, sounds will be selected from this list:
This event is added to reloading animations. Sounds are selected from: