From 7ea5599f685ea29f7ecab3516b7335fa93f6e2bf Mon Sep 17 00:00:00 2001
From: wangguan <wangguan@kt007.com>
Date: Tue, 22 Dec 2020 20:35:25 +0800
Subject: [PATCH] 火技能杀死的怪物统一计算 修改击杀显示

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

diff --git a/Assets/Scripts/TowerDefense/UI/DropCoinImage.cs b/Assets/Scripts/TowerDefense/UI/DropCoinImage.cs
index 3c9ed80..bcfdf82 100644
--- a/Assets/Scripts/TowerDefense/UI/DropCoinImage.cs
+++ b/Assets/Scripts/TowerDefense/UI/DropCoinImage.cs
@@ -47,7 +47,7 @@
     private void StartFly()
     {
         tmpBtn.interactable = false;
-        RectTransform end = GameObject.Find("UICamera/MainUI/FlyEndPos").GetComponent<RectTransform>();
+        Transform end = GameObject.Find("UICamera/MainUI/FlyEndPos").transform;
         //金币飞动 增加多少个金币,制造多少个
         TowerDefense.Level.EndlessDropManager.instance.FlyIcon(
             transform.parent,

--
Gitblit v1.9.1