UI系统组件

This commit is contained in:
2026-06-06 09:00:11 +08:00
parent fe4fd60083
commit d794b83ebe
107 changed files with 25690 additions and 476 deletions

View File

@@ -0,0 +1,24 @@
namespace BaseGames.UI.Settings
{
/// <summary>
/// 可在设置面板中数据驱动绑定的设置项标识。
/// 与 <see cref="BaseGames.Core.ISettingsService"/> 的 typed get/set 一一对应;
/// 控件类型与绑定逻辑由 <see cref="DataDrivenSettingsPanel"/> 的派发器据此决定。
///
/// 新增"全新"设置项需:在此加枚举 + ISettingsService 加方法 + 派发器加分支(代码);
/// 但增删 / 重排 / 改标签 / 分节既有设置项是纯数据(改 <see cref="SettingsSchemaSO"/>)。
/// </summary>
public enum SettingKey
{
MasterVolume,
BGMVolume,
SFXVolume,
AmbientVolume,
VSync,
TargetFPS,
UIScale,
ColorblindMode,
ScreenShake,
Language,
}
}