public void DisplayTalentPoints() { SkillPower.LoadSkill(); ButtonTextPower.text = "Power:" + PlayerModel.TalentPower; ButtonTextSpeed.text = "Speed:" + PlayerModel.TalentSpeed; ButtonTextHealth.text = "Health:" + PlayerModel.TalentHealth; ButtonTextArrows.text = "Arrows:" + PlayerModel.TalentArrows; TextTalentPoints.text = "Talent points:" + PlayerModel.TalentPoints.ToString(); if (PlayerModel.TalentPower == 10) { ButtonPower.interactable = false; } if (PlayerModel.TalentSpeed == 10) { ButtonSpeed.interactable = false; } if (PlayerModel.TalentHealth == 10) { ButtonHealth.interactable = false; } if (PlayerModel.TalentArrows == 10) { ButtonArrows.interactable = false; } }