From 6b64f3b2614aba249b3e904905da92a80ce8d49e Mon Sep 17 00:00:00 2001
From: ALEXTANG <574809918@qq.com>
Date: Sat, 13 May 2023 21:12:29 +0800
Subject: [PATCH] Update Constant.cs
---
.../Runtime/GameFramework/Resource/Constant.cs | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
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";
+ }
+ }
}