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

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

diff --git a/System/WindowBase/OneLevelWin.cs b/System/WindowBase/OneLevelWin.cs
index 89c4c66..25622c9 100644
--- a/System/WindowBase/OneLevelWin.cs
+++ b/System/WindowBase/OneLevelWin.cs
@@ -50,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)
             {

--
Gitblit v1.8.0