【公告】修改公告通道的配置位置
parent
5c8ee62e42
commit
d084904f33
|
@ -10,6 +10,8 @@ ServerConfigManager.SettingConfig = {
|
||||||
UI_Layout_CanvasScaler = "UI_Layout_CanvasScaler", -- 屏幕适配
|
UI_Layout_CanvasScaler = "UI_Layout_CanvasScaler", -- 屏幕适配
|
||||||
IS_PLAY_VOICE = "IS_PLAY_VOICE", -- 是否播放游戏内语音
|
IS_PLAY_VOICE = "IS_PLAY_VOICE", -- 是否播放游戏内语音
|
||||||
IS_SHOW_HEALTH_TIP = "IS_SHOW_HEALTH_TIP", -- 是否显示健康提示
|
IS_SHOW_HEALTH_TIP = "IS_SHOW_HEALTH_TIP", -- 是否显示健康提示
|
||||||
|
NOTICE_CHANNEL = "NOTICE_CHANNEL", -- 公告号
|
||||||
|
PACKAGE_CC_CODE = "PACKAGE_CC_CODE", -- CC号
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ local LoginRoot_SubChannel = ServerConfigManager.GetVersionInfo("subChannel")
|
||||||
local LoginRoot_Channel = ServerConfigManager.GetVersionInfo("channel")
|
local LoginRoot_Channel = ServerConfigManager.GetVersionInfo("channel")
|
||||||
local LoginRoot_Version = ServerConfigManager.GetVersionInfo("version")
|
local LoginRoot_Version = ServerConfigManager.GetVersionInfo("version")
|
||||||
local LoginRoot_PackageVersion = ServerConfigManager.GetVersionInfo("packageVersion")
|
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 orginLayer
|
||||||
|
|
||||||
local timeStamp = Time.realtimeSinceStartup
|
local timeStamp = Time.realtimeSinceStartup
|
||||||
|
|
|
@ -241,7 +241,7 @@ namespace GameEditor.FrameTool {
|
||||||
public string packageVersion;
|
public string packageVersion;
|
||||||
public string version;
|
public string version;
|
||||||
public string serverUrl;
|
public string serverUrl;
|
||||||
public string noticeChannel;
|
//public string noticeChannel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -339,8 +339,8 @@ namespace GameEditor.FrameTool {
|
||||||
m_VersionTxt.packageVersion = EditorGUILayout.TextField("", m_VersionTxt.packageVersion);
|
m_VersionTxt.packageVersion = EditorGUILayout.TextField("", m_VersionTxt.packageVersion);
|
||||||
EditorGUILayout.LabelField("热更版本号:");
|
EditorGUILayout.LabelField("热更版本号:");
|
||||||
m_VersionTxt.version = EditorGUILayout.TextField("", m_VersionTxt.version);
|
m_VersionTxt.version = EditorGUILayout.TextField("", m_VersionTxt.version);
|
||||||
EditorGUILayout.LabelField("公告:");
|
//EditorGUILayout.LabelField("公告:");
|
||||||
m_VersionTxt.noticeChannel = EditorGUILayout.TextField("", m_VersionTxt.noticeChannel);
|
//m_VersionTxt.noticeChannel = EditorGUILayout.TextField("", m_VersionTxt.noticeChannel);
|
||||||
EditorGUILayout.EndVertical();
|
EditorGUILayout.EndVertical();
|
||||||
|
|
||||||
if (GUILayout.Button("应用", GUILayout.Height(40f)))
|
if (GUILayout.Button("应用", GUILayout.Height(40f)))
|
||||||
|
|
Loading…
Reference in New Issue