Fix UI sound verifier for volume playback
This commit is contained in:
@@ -20,7 +20,7 @@ REQUIRED = {
|
|||||||
],
|
],
|
||||||
UI_CPP: [
|
UI_CPP: [
|
||||||
"#include \"Kismet/GameplayStatics.h\"",
|
"#include \"Kismet/GameplayStatics.h\"",
|
||||||
"UGameplayStatics::PlaySound2D(this, Sound);",
|
"UGameplayStatics::PlaySound2D(this, Sound, FMath::Clamp(MasterVolume * UiVolume, 0.0f, 1.0f));",
|
||||||
"PlayUiSound(UiConfirmSound);",
|
"PlayUiSound(UiConfirmSound);",
|
||||||
"PlayUiSound(UiBackSound);",
|
"PlayUiSound(UiBackSound);",
|
||||||
"PlayUiSound(UiSelectionSound);",
|
"PlayUiSound(UiSelectionSound);",
|
||||||
|
|||||||
Reference in New Issue
Block a user