From c1ef6cbe7088df7eb236272db0621d5f51c02e5f Mon Sep 17 00:00:00 2001
From: chenxin <chenxin6991@163.com>
Date: Fri, 11 Dec 2020 17:44:27 +0800
Subject: [PATCH] 金币效果调整2

---
 Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs b/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs
index 6bb10aa..1183068 100644
--- a/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs
+++ b/Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs
@@ -2008,7 +2008,7 @@
         /// <summary>
         /// 随机放置Tower按钮禁止使用,灰掉.
         /// </summary>
-        protected void disableRandomTowerBtn()
+        public void disableRandomTowerBtn()
         {
             randomTowerBtn.GetComponent<EndlessRandomTower>().ChangeBtnClick();
             //randomTowerBtn.interactable = false;
@@ -2023,7 +2023,7 @@
         /// <summary>
         /// 随机购买Tower的按钮重设置为有效.
         /// </summary>
-        protected void enableRandomTowerBtn()
+        public void enableRandomTowerBtn()
         {
             // ATTENTION TO FIX: 再次判断是因为有的地方是直接调用
             if ((TowerPrice.instance.currentTowerPrice > EndlessLevelManager.instance.Currency.currentCurrency) ||

--
Gitblit v1.9.1