Exemplo n.º 1
0
 public void UpdateBallLeftText()
 {
     ballLeftUI.text = "x" + PlayerBehavoir.BallsLeft().ToString();
 }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     player   = GameObject.FindGameObjectWithTag("Player").transform;
     playerHP = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerBehavoir>();
 }