From 2126c05d9132ac974adcb49b87cc789655cf58fd Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期日, 05 五月 2019 13:38:58 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/WindowBase/OneLevelWin.cs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/System/WindowBase/OneLevelWin.cs b/System/WindowBase/OneLevelWin.cs
index 2b8fec6..6d982ab 100644
--- a/System/WindowBase/OneLevelWin.cs
+++ b/System/WindowBase/OneLevelWin.cs
@@ -36,10 +36,9 @@
m_SubWindowContainer = this.GetComponent<RectTransform>("Pivot/Container_SubWindow");
var name = this.GetType().Name;
- var children = WindowConfig.GetChildWindows(name);
- foreach (var child in children)
+ var infos = WindowConfig.GetWindowFunctionInfos(name);
+ foreach (var info in infos)
{
- var info = WindowConfig.GetWindowFunctionInfo(name, child);
m_Group.AddFunction("FunctionButton_Pattern_1", info.order, info.functionId, Language.Get(info.titleKey), info.redPointId);
}
--
Gitblit v1.8.0