From eacdd852a932b428f7fc41eb3087ee66e2678ae9 Mon Sep 17 00:00:00 2001 From: wulongxiao <2545507770@qq.com> Date: Mon, 13 Jan 2025 16:23:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Role/Role.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Role/Role.cs b/Role/Role.cs index c1c4670..cb4221c 100644 --- a/Role/Role.cs +++ b/Role/Role.cs @@ -348,20 +348,7 @@ public class Role : Fun if (lsanimationHighlight == dieIndex) { - //SpawnPool.intance.DeadNumber += 1; - - - - SpawnMonster.intance.enemysList.Remove(this.gameObject); - - if (SpawnMonster.intance.enemysList.Count<=0) - { - SpawnMonster.intance.Index += 1; - } - Destroy(this.gameObject); - //Destroy(this); - } if (lsanimationHighlight == hitIndex)