void updateatributes() { heathText.text = "Heath: " + player.getheath() + "/" + player.maxHealth; manatext.text = "Mana: " + player.getmana() + "/" + player.maxMana; forcetext.text = "Force: " + player.force; attacktext.text = "Attack: " + (player.force + player.GetComponentInChildren <Attack>().getdamage()); defensetext.text = "Defense: " + player.defense; }