修复
This commit is contained in:
parent
842d9b9770
commit
eacdd852a9
13
Role/Role.cs
13
Role/Role.cs
@ -348,20 +348,7 @@ public class Role : Fun
|
|||||||
|
|
||||||
if (lsanimationHighlight == dieIndex)
|
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.gameObject);
|
||||||
//Destroy(this);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lsanimationHighlight == hitIndex)
|
if (lsanimationHighlight == hitIndex)
|
||||||
|
Loading…
Reference in New Issue
Block a user