添加subchannel

zhangjiannan 2024-10-28 03:50:58 +08:00
parent e9041dbc07
commit 5c1c5cf335
1 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ namespace GameEditor.FrameTool
string sdkLodingUrl;
string payUrl;
string channel;
//string subChannel;
string subChannel;
string packageVersion;
string defaultVersion;
@ -81,7 +81,7 @@ namespace GameEditor.FrameTool
sdkLodingUrl = version.GetInfo("sdkLodingUrl");
payUrl = version.GetInfo("payUrl");
channel = version.GetInfo("channel");
//subChannel = version.GetInfo("subChannel");
subChannel = version.GetInfo("subChannel");
packageVersion = version.GetInfo("packageVersion");
defaultVersion = version.GetInfo("version");
@ -147,7 +147,7 @@ namespace GameEditor.FrameTool
EditorGUILayout.EndVertical();
EditorGUILayout.BeginVertical();
//subChannel = EditorGUILayout.TextField("SubChannel", subChannel);
subChannel = EditorGUILayout.TextField("SubChannel", subChannel);
serverPathValue = (ServerPathType)EditorGUILayout.EnumPopup("选择服务器", serverPathValue);
serverPathType = serverPathValue.ToString();
ServerPathTypeValueAttribute pathInfo = ServerPathManager.Instance[serverPathValue];
@ -322,7 +322,7 @@ namespace GameEditor.FrameTool
version.SetInfo("sdkLodingUrl", sdkLodingUrl);
version.SetInfo("payUrl", payUrl);
version.SetInfo("channel", channel);
//version.SetInfo("subChannel", subChannel);
version.SetInfo("subChannel", subChannel);
if (CheckPackageVersion())
{