From f7dc33c89b3b90a8cbc5999062519e58a5b8fa19 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 26 九月 2018 19:33:05 +0800
Subject: [PATCH] 3335 修理窗口管理api
---
System/MainInterfacePanel/ChatFrame.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/System/MainInterfacePanel/ChatFrame.cs b/System/MainInterfacePanel/ChatFrame.cs
index 9482ad8..393d4b2 100644
--- a/System/MainInterfacePanel/ChatFrame.cs
+++ b/System/MainInterfacePanel/ChatFrame.cs
@@ -286,7 +286,7 @@
if (PlayerDatas.Instance.hero.aiHandler.IsAuto())
{
AutoImg.SetActive(false);
- if (!WindowCenter.Instance.CheckOpen<ExperienceOpenWin>())
+ if (!WindowCenter.Instance.IsOpen<ExperienceOpenWin>())
{
WindowCenter.Instance.Open<ExperienceOpenWin>(true);
}
@@ -294,7 +294,7 @@
else
{
AutoImg.SetActive(true);
- if (WindowCenter.Instance.CheckOpen<ExperienceOpenWin>())
+ if (WindowCenter.Instance.IsOpen<ExperienceOpenWin>())
{
WindowCenter.Instance.CloseImmediately<ExperienceOpenWin>();
}
@@ -409,7 +409,7 @@
{
if (!_hero.aiHandler.IsAuto())
{
- if (!WindowCenter.Instance.CheckOpen<ExperienceOpenWin>())
+ if (!WindowCenter.Instance.IsOpen<ExperienceOpenWin>())
{
WindowCenter.Instance.Open<ExperienceOpenWin>(true);
}
@@ -417,7 +417,7 @@
}
else
{
- if (WindowCenter.Instance.CheckOpen<ExperienceOpenWin>())
+ if (WindowCenter.Instance.IsOpen<ExperienceOpenWin>())
{
WindowCenter.Instance.CloseImmediately<ExperienceOpenWin>();
}
--
Gitblit v1.8.0