From cd7c9d87bec51d3283c17e70a13be302a56c5722 Mon Sep 17 00:00:00 2001
From: client_Lhy <995049470@qq.com>
Date: 星期三, 03 七月 2019 10:07:43 +0800
Subject: [PATCH] 7677 子 【2.0.200】【开发】灵器系统

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

diff --git a/System/WindowBase/Window.cs b/System/WindowBase/Window.cs
index dcb996c..24d8911 100644
--- a/System/WindowBase/Window.cs
+++ b/System/WindowBase/Window.cs
@@ -456,7 +456,7 @@
 
         private void AddWindowPattern()
         {
-            var pattern = WindowConfig.GetWindowPattern(this.GetType().Name);
+            var pattern = WindowConfig.GetWindowPattern(this.gameObject.name);
             if (!string.IsNullOrEmpty(pattern))
             {
                 var instance = UIUtility.CreateWidget(pattern, "Pivot");

--
Gitblit v1.8.0