From 0168c551302706b306e0c71a87ac1a9140b4f51d Mon Sep 17 00:00:00 2001 From: chenxin <chenxin6991@163.com> Date: Thu, 29 Oct 2020 14:28:53 +0800 Subject: [PATCH] 1.木属性小怪一次要出两个 2.buff加上 3.宝箱图片显示不对 4.钻石道具5个为一组,占一个item 6.合成特效改为对应的上阵的特效,原合成特效给技能用 7.把王冠昨天改的新手引导合了 --- Assets/Scripts/TowerDefense/Level/WaveLineSelMgr.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/TowerDefense/Level/WaveLineSelMgr.cs b/Assets/Scripts/TowerDefense/Level/WaveLineSelMgr.cs index ee552bd..4c25214 100644 --- a/Assets/Scripts/TowerDefense/Level/WaveLineSelMgr.cs +++ b/Assets/Scripts/TowerDefense/Level/WaveLineSelMgr.cs @@ -193,7 +193,7 @@ ps = obj.transform.GetChild(0).GetComponent<ParticleSystem>(); ps.transform.position = LevelManager.instance.waveManager.GetWaveEndPos(id); ps.Play(); - Destroy(ps.gameObject, ps.main.duration); + Destroy(obj, ps.main.duration); } /// <summary> @@ -211,9 +211,8 @@ ps = obj.transform.GetChild(0).GetComponent<ParticleSystem>(); ps.transform.position = pos; ps.Play(); - Destroy(ps.gameObject, ps.main.duration); + Destroy(obj, ps.main.duration); } - /// <summary> /// 对应兵线发亮. -- Gitblit v1.9.1