From e28fd5cc81c68db8efcab33ea526643aae5e2c19 Mon Sep 17 00:00:00 2001 From: chenxin <chenxin6991@163.com> Date: Thu, 22 Oct 2020 19:18:57 +0800 Subject: [PATCH] 子弹特效替换调整 --- Assets/Scripts/TowerDefense/Agents/Agent.cs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Assets/Scripts/TowerDefense/Agents/Agent.cs b/Assets/Scripts/TowerDefense/Agents/Agent.cs index f006738..a9d1bf3 100644 --- a/Assets/Scripts/TowerDefense/Agents/Agent.cs +++ b/Assets/Scripts/TowerDefense/Agents/Agent.cs @@ -997,6 +997,7 @@ // 移除Agent身上的中毒特效,并播放一个中毒效果消失的特效 if (PoisonParticle != null) { + PoisonParticle.Clear(); PoisonParticle.Stop(); if (PoisonEndParticle != null) PoisonEndParticle.Play(); -- Gitblit v1.9.1