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