【公告】修改公告通道的配置位置

dev_chengFeng
gaoxin 2021-05-18 16:19:36 +08:00
parent 5c8ee62e42
commit d084904f33
3 changed files with 6 additions and 4 deletions

View File

@ -10,6 +10,8 @@ ServerConfigManager.SettingConfig = {
UI_Layout_CanvasScaler = "UI_Layout_CanvasScaler", -- 屏幕适配
IS_PLAY_VOICE = "IS_PLAY_VOICE", -- 是否播放游戏内语音
IS_SHOW_HEALTH_TIP = "IS_SHOW_HEALTH_TIP", -- 是否显示健康提示
NOTICE_CHANNEL = "NOTICE_CHANNEL", -- 公告号
PACKAGE_CC_CODE = "PACKAGE_CC_CODE", -- CC号
}

View File

@ -20,7 +20,7 @@ local LoginRoot_SubChannel = ServerConfigManager.GetVersionInfo("subChannel")
local LoginRoot_Channel = ServerConfigManager.GetVersionInfo("channel")
local LoginRoot_Version = ServerConfigManager.GetVersionInfo("version")
local LoginRoot_PackageVersion = ServerConfigManager.GetVersionInfo("packageVersion")
local LoginRoot_NoticeChannel = ServerConfigManager.GetVersionInfo("noticeChannel") or ""
local LoginRoot_NoticeChannel = ServerConfigManager.GetSettingValue(ServerConfigManager.SettingConfig.NOTICE_CHANNEL) or ""
local orginLayer
local timeStamp = Time.realtimeSinceStartup

View File

@ -241,7 +241,7 @@ namespace GameEditor.FrameTool {
public string packageVersion;
public string version;
public string serverUrl;
public string noticeChannel;
//public string noticeChannel;
}
@ -339,8 +339,8 @@ namespace GameEditor.FrameTool {
m_VersionTxt.packageVersion = EditorGUILayout.TextField("", m_VersionTxt.packageVersion);
EditorGUILayout.LabelField("热更版本号:");
m_VersionTxt.version = EditorGUILayout.TextField("", m_VersionTxt.version);
EditorGUILayout.LabelField("公告:");
m_VersionTxt.noticeChannel = EditorGUILayout.TextField("", m_VersionTxt.noticeChannel);
//EditorGUILayout.LabelField("公告:");
//m_VersionTxt.noticeChannel = EditorGUILayout.TextField("", m_VersionTxt.noticeChannel);
EditorGUILayout.EndVertical();
if (GUILayout.Button("应用", GUILayout.Height(40f)))