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/UI/FlyImage.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Scripts/UI/FlyImage.cs b/Assets/Scripts/UI/FlyImage.cs index 04adaeb..4f5a5d0 100644 --- a/Assets/Scripts/UI/FlyImage.cs +++ b/Assets/Scripts/UI/FlyImage.cs @@ -107,13 +107,13 @@ private void Close() { - Debug.Log("到终点了,可以消失了" + EndlessLevelManager.instance.DropCoin); + //Debug.Log("到终点了,可以消失了" + EndlessLevelManager.instance.DropCoin); - //gameObject.SetActive(false); + gameObject.SetActive(false); - EndlessLevelManager.instance.Currency.AddCurrency(EndlessLevelManager.instance.DropCoin); + EndlessLevelManager.instance.Currency.AddCurrency(1);//每个金币增加1 EventCenter.Ins.BroadCast((int)KTGMGemClient.EventType.PlayGetGoldPS); - Core.Utilities.Poolable.TryPool(gameObject); + //Core.Utilities.Poolable.TryPool(gameObject); } /// <summary> -- Gitblit v1.9.1