Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
Include |
#include "GameFramework/PlayerController.h" |
void ClientPlaySound
(
class USoundBase * Sound,
float VolumeMultiplier,
float PitchMultiplier
)
Play sound client-side (so only the client will hear it)
Parameter |
Description |
---|---|
Sound |
Sound to play |
VolumeMultiplier |
Volume multiplier to apply to the sound |
PitchMultiplier |
Pitch multiplier to apply to the sound |