You've already forked LuckyWorld
Ne audio setting menu
This commit is contained in:
@ -21,6 +21,9 @@ void ULuckyRobotsGameInstance::Init()
|
||||
{
|
||||
Super::Init();
|
||||
|
||||
// Set fullscreen mode on startup
|
||||
DoResolutionChange(true);
|
||||
|
||||
auto UISubsystem = GetSubsystem<UUISubsystem>();
|
||||
if (UISubsystem)
|
||||
{
|
||||
|
@ -695,4 +695,23 @@ struct FParsedData
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category = "Parsed Data")
|
||||
FString Quality;
|
||||
};
|
||||
|
||||
USTRUCT(BlueprintType)
|
||||
struct FSaveGameSettings
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
float f_ambient;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
float f_effect;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
float f_ui;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
float f_music;
|
||||
};
|
Reference in New Issue
Block a user