This commit is contained in:
wulongxiao 2024-12-30 13:38:52 +08:00
parent b2bb7613b4
commit ae43a9f4b9

View File

@ -300,9 +300,7 @@ public class Role : Fun
if (lsanimationHighlight == dieIndex)
{
SpawnPool.intance.DeadNumber += 1;
// Destroy(gameObject);
// SpawnPool.intance.ReturnEnemyToPool(this.gameObject); // 回收当前敌人到池中
// ResetAllStatus();
Destroy(gameObject);
}
if (lsanimationHighlight == hitIndex)