// Update is called once per frame void Update() { healthText.text = player.GetHealth().ToString(); }