Crown Placement and Start of Game
Lisez pas mes commits svp T_T
This commit is contained in:
parent
c2af70eeb4
commit
e805b7eb9c
13 changed files with 4399 additions and 3688 deletions
|
@ -18,7 +18,7 @@ public static class GlobalsVariable
|
|||
{ "Zombie",1 },
|
||||
{ "Squelette",2 },
|
||||
{ "Creeper",3 },
|
||||
{ "Sorcière",3 },
|
||||
{ "Sorciere",3 },
|
||||
{ "Golem",8 }
|
||||
};
|
||||
|
||||
|
|
|
@ -54,13 +54,13 @@ public class HealthHandler : MonoBehaviour
|
|||
GlobalsVariable.AliveUnitsTeamB = new List<AbstractUnit>();
|
||||
GlobalsVariable.AliveUnitsTeamA = new List<AbstractUnit>();
|
||||
|
||||
if (deathState == DeathSate.QueenADead)
|
||||
if (deathState == DeathSate.QueenBDead)
|
||||
{
|
||||
print("get good, reload current scene");
|
||||
SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().name);
|
||||
}
|
||||
|
||||
if (deathState == DeathSate.QueenBDead)
|
||||
if (deathState == DeathSate.QueenADead)
|
||||
{
|
||||
print("GG going to next scene");
|
||||
GameManager.Instance.GoNextLevel();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue