From d4aa0f068ab230df4dc543cf934e1def3a609ec9 Mon Sep 17 00:00:00 2001 From: wangguan <wangguan@kt007.com> Date: Tue, 15 Dec 2020 10:03:39 +0800 Subject: [PATCH] 打点 玩家达到第x关y波的次数 改为只传第几关 --- 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