public void SetCurrentSkill(SkillButton newSkill) { currentSkill.DeselectSkill(); currentSkill = newSkill; currentSkill.SelectSkill(); FillLateralPanel(); }
void Start() { currentSkill = firstSkill; currentSkill.SelectSkill(); currentSkill.MakeAvailable(); FillLateralPanel(); }