Compare commits
No commits in common. "3477d8e07eb46b4fedc0ec9b08b9a26653d3a217" and "917219c444b77014a41eaf2e6df78c6ac1cafcc1" have entirely different histories.
3477d8e07e
...
917219c444
13
Role/Role.cs
13
Role/Role.cs
@ -348,7 +348,20 @@ 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