Exemplo n.º 1
0
        private void Start()
        {
            playerStatsHandler = FindObjectOfType <PlayerStatsHandler>();

            playerScore.text = playerStatsHandler.GetScore().ToString();
            livesText.text   = playerStatsHandler.GetLivesLeft().ToString();
        }
Exemplo n.º 2
0
 void Update()
 {
     playerScore.text = playerStatsHandler.GetScore().ToString();
     livesText.text   = playerStatsHandler.GetLivesLeft().ToString();
 }