第一次提交
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "UObject/Object.h"
|
||||
#include "Engine/DeveloperSettings.h"
|
||||
#include "GUIS_GenericUISystemSettings.generated.h"
|
||||
|
||||
class UGUIS_GameModalWidget;
|
||||
class UGUIS_GameUIPolicy;
|
||||
|
||||
/**
|
||||
* Developer settings for the Generic UI System.
|
||||
* 通用UI系统的开发者设置。
|
||||
*/
|
||||
UCLASS(Config = Game, defaultconfig, meta = (DisplayName = "Generic UI System Settings"))
|
||||
class GENERICUISYSTEM_API UGUIS_GenericUISystemSettings : public UDeveloperSettings
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
/**
|
||||
* Retrieves the Generic UI System settings.
|
||||
* 获取通用UI系统设置。
|
||||
* @return The UI system settings. UI系统设置。
|
||||
*/
|
||||
UFUNCTION(BlueprintPure, Category="GUIS|Settings", meta = (DisplayName = "Get Generic UI System Settings"))
|
||||
static const UGUIS_GenericUISystemSettings* Get();
|
||||
|
||||
/**
|
||||
* Default UI policy class for the game layout.
|
||||
* 游戏布局的默认UI策略类。
|
||||
*/
|
||||
UPROPERTY(Config, EditAnywhere, BlueprintReadOnly, Category="GUIS|Settings")
|
||||
TSoftClassPtr<UGUIS_GameUIPolicy> GameUIPolicyClass;
|
||||
};
|
||||
Reference in New Issue
Block a user