added main and pause menus

This commit is contained in:
2026-06-05 20:00:33 +03:00
parent 0792f7cdfd
commit 61d5a57d8d
53 changed files with 1402 additions and 49 deletions
@@ -5,7 +5,7 @@
void UNakedDesireUserSettings::SetGlobalVolume(float Value)
{
GlobalVolume = Value;
GlobalVolume = FMath::Clamp(Value, 0.0f, 1.0f);
}
float UNakedDesireUserSettings::GetGlobalVolume() const
@@ -13,6 +13,26 @@ float UNakedDesireUserSettings::GetGlobalVolume() const
return GlobalVolume;
}
void UNakedDesireUserSettings::SetMusicVolume(float Value)
{
MusicVolume = FMath::Clamp(Value, 0.0f, 1.0f);
}
float UNakedDesireUserSettings::GetMusicVolume() const
{
return MusicVolume;
}
void UNakedDesireUserSettings::SetSfxVolume(float Value)
{
SfxVolume = FMath::Clamp(Value, 0.0f, 1.0f);
}
float UNakedDesireUserSettings::GetSfxVolume() const
{
return SfxVolume;
}
void UNakedDesireUserSettings::SetIsCensorshipEnabled(bool Value)
{
IsCensorshipEnabled = Value;