Compare commits
2 Commits
917219c444
...
3477d8e07e
Author | SHA1 | Date | |
---|---|---|---|
3477d8e07e | |||
eacdd852a9 |
13
Role/Role.cs
13
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)
|
||||
|
Loading…
Reference in New Issue
Block a user