Exemplo n.º 1
0
 //called on event OnParticleCollisions
 public void SwitchToDefeatPhase(GameObject LooseObject)
 {
     GameStateEnum.gameStateEnum = GameStateEnum.GAMESTATE.Loose;
     LooseObject.SetActive(false);
     ScoringManager.nbDeath++;
     ScoringManager.LooseCheck();
 }