diff --git a/Assets/TEngine/Runtime/GameFramework/Resource/Constant.cs b/Assets/TEngine/Runtime/GameFramework/Resource/Constant.cs index f068527e..9a174b25 100644 --- a/Assets/TEngine/Runtime/GameFramework/Resource/Constant.cs +++ b/Assets/TEngine/Runtime/GameFramework/Resource/Constant.cs @@ -3,11 +3,27 @@ /// /// 资源相关常量。 /// - internal static class Constant + public static partial class Constant { /// /// 默认资源加载优先级。 /// internal const int DefaultPriority = 0; } + + public static partial class Constant + { + public static class Setting + { + public const string Language = "Setting.Language"; + public const string SoundGroupMuted = "Setting.{0}Muted"; + public const string SoundGroupVolume = "Setting.{0}Volume"; + public const string MusicMuted = "Setting.MusicMuted"; + public const string MusicVolume = "Setting.MusicVolume"; + public const string SoundMuted = "Setting.SoundMuted"; + public const string SoundVolume = "Setting.SoundVolume"; + public const string UISoundMuted = "Setting.UISoundMuted"; + public const string UISoundVolume = "Setting.UISoundVolume"; + } + } }