【打包配置】修复数据未清理的问题
parent
abe720d43d
commit
7f988480b1
|
|
@ -77,6 +77,7 @@ public class AutoPack : EditorWindow
|
||||||
|
|
||||||
static void LoadConfig()
|
static void LoadConfig()
|
||||||
{
|
{
|
||||||
|
PackConfig.Clear();
|
||||||
Hashtable config = ClientConfigManager.Instance.GetAutoPackConfig();
|
Hashtable config = ClientConfigManager.Instance.GetAutoPackConfig();
|
||||||
foreach (string k in config.Keys)
|
foreach (string k in config.Keys)
|
||||||
{
|
{
|
||||||
|
|
@ -119,7 +120,7 @@ public class AutoPack : EditorWindow
|
||||||
benchName = GitUtil.GetCurBenchName();
|
benchName = GitUtil.GetCurBenchName();
|
||||||
UnityEngine.Debug.Log("当前分支:" + benchName);
|
UnityEngine.Debug.Log("当前分支:" + benchName);
|
||||||
//创建窗口
|
//创建窗口
|
||||||
Rect wr = new Rect(0, 0, 500, 700);
|
Rect wr = new Rect(0, 0, 500, 1000);
|
||||||
var buildWin = GetWindowWithRect<AutoPack>(wr, true);
|
var buildWin = GetWindowWithRect<AutoPack>(wr, true);
|
||||||
buildWin.titleContent = new GUIContent("打包工具");
|
buildWin.titleContent = new GUIContent("打包工具");
|
||||||
buildWin.Show();
|
buildWin.Show();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue