From dcbbe82ceca921e73e1789ae87ea8ac6a59c7bff Mon Sep 17 00:00:00 2001 From: wangguan <wangguan@kt007.com> Date: Thu, 17 Dec 2020 15:54:41 +0800 Subject: [PATCH] 增加技能特效 --- 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