public void SetValues() { //Initialize(); Player player = LevelController.Player; totalSkillPoints = skillPointByLevel; SkillPointsText.text = skillPointByLevel.ToString(); AgilityModifier.SetValue(Mathf.FloorToInt(player.GetAgility())); StrengthModifier.SetValue(Mathf.FloorToInt(player.GetStrength())); ResistanceModifier.SetValue(Mathf.FloorToInt(player.GetResistance())); VitalityModifier.SetValue(Mathf.FloorToInt(player.GetVitality())); }