Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     playerControler       = FindObjectOfType <PlayerControlScript>();
     playerAnimator        = playerControler.GetComponent <Animator>();
     scoreGUI.text         = "Score: " + globalScore;
     lifeCounterGUI.text   = "Number of lives: " + NUMBER_OF_LIVES;
     levelGUI.text         = "Level: " + level;
     completeLevelGUI.text = "";
     loseGameGUI.text      = "";
     deathMessageGUI.text  = "";
     deathCounter          = 0;
 }