added main and pause menus
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user