From 2b14df4f5de172fbe536503057c5c0bb878062d5 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期六, 29 六月 2019 18:16:38 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/WindowBase/OneLevelWin.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/System/WindowBase/OneLevelWin.cs b/System/WindowBase/OneLevelWin.cs
index 18414b5..25622c9 100644
--- a/System/WindowBase/OneLevelWin.cs
+++ b/System/WindowBase/OneLevelWin.cs
@@ -13,6 +13,7 @@
namespace Snxxz.UI
{
+ [XLua.LuaCallCSharp]
public class OneLevelWin : Window
{
protected Image m_TitleIcon;
@@ -49,7 +50,7 @@
m_SubWindowContainer = this.GetComponent<RectTransform>("Pivot/Container_SubWindow");
- var name = this.GetType().Name;
+ var name = this.gameObject.name;
var infos = WindowConfig.GetWindowFunctionInfos(name);
foreach (var info in infos)
{
@@ -110,7 +111,7 @@
}
}
- protected void SetFunctionListener(int order, UnityAction callBack)
+ public void SetFunctionListener(int order, UnityAction callBack)
{
m_Group.SetFunctionListener(order, callBack);
}
--
Gitblit v1.8.0