Hi Fabrice – I am doing this now; I declare this
USoundCue* m_ClickSound;
in my header file and
static ConstructorHelpers::FObjectFinder soundCueLoader(TEXT("SoundCue'/Game/Click1_Cue.Click1_Cue'"));
m_ClickSound = soundCueLoader.Object;
in my constructor.
Unfortunately, there’s no USoundCue::Play(), but it looks like you can pass the USoundCue in to AActor::PlaySoundOnActor(), AActor::PlaySoundAtLocation(), APlayerController::ClientPlaySound(), and so on.