added main and pause menus
This commit is contained in:
@@ -23,6 +23,18 @@ public:
|
||||
UFUNCTION(BlueprintPure)
|
||||
float GetGlobalVolume() const;
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void SetMusicVolume(float Value);
|
||||
|
||||
UFUNCTION(BlueprintPure)
|
||||
float GetMusicVolume() const;
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void SetSfxVolume(float Value);
|
||||
|
||||
UFUNCTION(BlueprintPure)
|
||||
float GetSfxVolume() const;
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void SetIsCensorshipEnabled(bool Value);
|
||||
|
||||
@@ -46,6 +58,12 @@ protected:
|
||||
UPROPERTY(Config)
|
||||
float GlobalVolume = 0.5f;
|
||||
|
||||
UPROPERTY(Config)
|
||||
float MusicVolume = 0.5f;
|
||||
|
||||
UPROPERTY(Config)
|
||||
float SfxVolume = 0.5f;
|
||||
|
||||
UPROPERTY(Config)
|
||||
bool IsCensorshipEnabled = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user