敌人生成修改
This commit is contained in:
parent
151503e59d
commit
192f710578
10
Role/Role.cs
10
Role/Role.cs
@ -320,10 +320,12 @@ public class Role : Fun
|
||||
if (lsanimationHighlight == dieIndex)
|
||||
{
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user