From 48bb6bd69ed82ab6e6964575f4d28b3074e611d0 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期六, 29 六月 2019 16:36:10 +0800
Subject: [PATCH] 3335 添加一级界面的lua基类

---
 System/WindowBase/OneLevelWin.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/System/WindowBase/OneLevelWin.cs b/System/WindowBase/OneLevelWin.cs
index 18414b5..89c4c66 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;
@@ -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