From d1f7aa1f9ec874ee8795eabda31c733cbd8597dd Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 15 五月 2019 12:23:56 +0800
Subject: [PATCH] 3335 重新导配置表解析类型
---
System/WindowBase/WindowCenter.cs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/System/WindowBase/WindowCenter.cs b/System/WindowBase/WindowCenter.cs
index 75a7cdf..ebab889 100644
--- a/System/WindowBase/WindowCenter.cs
+++ b/System/WindowBase/WindowCenter.cs
@@ -702,11 +702,10 @@
}
window = instance.GetComponent<Window>();
- var typeName = window.GetType().Name;
- instance.name = typeName;
+ instance.name = name;
if (window != null)
{
- windows[typeName] = window;
+ windows[name] = window;
}
else
{
--
Gitblit v1.8.0