UnrealScripterAI
Discord ↗
Link Copied to Clipboard
×
"custom sound cue"
#include "MySoundCue.h" #include "Sound/SoundCue.h" #include "Engine/SoundClass.h" // Called when the sound cue is played void UMySoundCue::Play(class USoundAttenuation* AttenuationSettings) { Super::Play(AttenuationSettings); } // Called to perform custom logic void UMySoundCue::DoSomething() { // Perform custom logic here }