From 48199425b13931a8e120da25731b88ee17141df0 Mon Sep 17 00:00:00 2001
From: chenxin <chenxin6991@163.com>
Date: Thu, 26 Nov 2020 16:26:15 +0800
Subject: [PATCH] Merge branch 'master' of http://172.16.1.52:8090/r/GemBattle into master

---
 Assets/Scripts/TowerDefense/UI/EndlessDropReward.cs |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/Assets/Scripts/TowerDefense/UI/EndlessDropReward.cs b/Assets/Scripts/TowerDefense/UI/EndlessDropReward.cs
index 1b41082..e4aca09 100644
--- a/Assets/Scripts/TowerDefense/UI/EndlessDropReward.cs
+++ b/Assets/Scripts/TowerDefense/UI/EndlessDropReward.cs
@@ -80,17 +80,17 @@
         public GameObject drapIcon;
         public void OnClick()
         {
-            if (isBox)
-            {
-                EndlessDropManager.instance.FlyIcon(transform.parent, Icon.sprite, transform.position, (propBtn.transform as RectTransform).position, true);
-            }
-            else
-            {
-                FlyImage fly = EndlessDropManager.instance.CreateIcon(transform.parent);
-                fly.SetDestination(Icon.sprite, transform.position, (propBtn.transform as RectTransform).position, false);
-            }
-            if (ClickDropEvent != null)
-                ClickDropEvent(DropData);
+            // if (isBox)
+            // {
+            //     EndlessDropManager.instance.FlyIcon(transform.parent, Icon.sprite, transform.position, (propBtn.transform as RectTransform).position, true);
+            // }
+            // else
+            // {
+            //     FlyImage fly = EndlessDropManager.instance.CreateIcon(transform.parent);
+            //     fly.SetDestination(Icon.sprite, transform.position, (propBtn.transform as RectTransform).position, false);
+            // }
+            // if (ClickDropEvent != null)
+            //     ClickDropEvent(DropData);
 
         }
 

--
Gitblit v1.9.1