UI系统组件
This commit is contained in:
24
Assets/_Game/Scripts/UI/Settings/SettingKey.cs
Normal file
24
Assets/_Game/Scripts/UI/Settings/SettingKey.cs
Normal 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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user