From 4bfaf190a4e16ecfc945bc26525b21dcaacc0417 Mon Sep 17 00:00:00 2001
From: wangguan <wangguan@kt007.com>
Date: Fri, 27 Nov 2020 13:59:43 +0800
Subject: [PATCH] 新手引导买完木塔隐藏按钮,结束引导后恢复 调整按钮位置

---
 Assets/Scripts/Guide/GuidePanel.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/Assets/Scripts/Guide/GuidePanel.cs b/Assets/Scripts/Guide/GuidePanel.cs
index 61982db..a7be2e5 100644
--- a/Assets/Scripts/Guide/GuidePanel.cs
+++ b/Assets/Scripts/Guide/GuidePanel.cs
@@ -401,6 +401,7 @@
         woodPS2.Play();
         towerPos2.enabled = true;
         DestoryButtonListener(towerBuyBtn);
+        towerBuyBtn.gameObject.SetActive(false);
     }
 
 
@@ -557,6 +558,11 @@
         RemoveButtonListener(skillBtn.gameObject);
     }
 
+    public void FinishGuide(){
+        towerBuyBtn.gameObject.SetActive(true);
+
+    }
+
 
     #region 按钮以及提示
 

--
Gitblit v1.9.1