Compare commits
No commits in common. "1d7b2ac48d849f03df9ac6f7851ccb4b6b0e2e2f" and "2cb47878a05f096844c5436e57aff38c8c5d85cf" have entirely different histories.
1d7b2ac48d
...
2cb47878a0
@ -320,12 +320,10 @@ public class Role : Fun
|
|||||||
if (lsanimationHighlight == dieIndex)
|
if (lsanimationHighlight == dieIndex)
|
||||||
{
|
{
|
||||||
SpawnPool.intance.DeadNumber += 1;
|
SpawnPool.intance.DeadNumber += 1;
|
||||||
|
|
||||||
Destroy(gameObject);
|
Destroy(gameObject);
|
||||||
SpawnMonster.intance.enemysList.Remove(this.gameObject);
|
|
||||||
if (SpawnMonster.intance.enemysList.Count<=0)
|
|
||||||
{
|
|
||||||
SpawnMonster.intance.Index += 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lsanimationHighlight == hitIndex)
|
if (lsanimationHighlight == hitIndex)
|
||||||
|
Loading…
Reference in New Issue
Block a user