From 5a25eb39af4fc36a47628dc6e55838fe8a87d393 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期五, 16 十一月 2018 17:01:59 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

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

diff --git a/System/WindowBase/WindowCenter.cs b/System/WindowBase/WindowCenter.cs
index 9082e10..05e481e 100644
--- a/System/WindowBase/WindowCenter.cs
+++ b/System/WindowBase/WindowCenter.cs
@@ -772,7 +772,7 @@
 
                     UILoader.UnLoadWindowAsset(prefabName);
                     instance.name = _name;
-                    window = (Window)instance.GetComponent(_name);
+                    window = (Window)instance.GetComponent<Window>();
                     if (window != null)
                     {
                         windows[_name] = (Window)window;

--
Gitblit v1.8.0