Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UUserWidget
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include | #include "Blueprint/UserWidget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/UserWidget.cpp |
UFUNCTION (BlueprintCallable, BlueprintCosmetic, Category="Sound",
Meta=(DeprecatedFunction, DeprecationMessage="Use the UGameplayStatics::PlaySound2D instead."))
void PlaySound
(
class USoundBase * SoundToPlay
)
Remarks
Plays a sound through the UI
Parameters
| Name | Description |
|---|---|
| The | sound to play |