/// <summary> /// Load stub skills. /// </summary> private void LoadSkills() { foreach (GameObject prefabSkill in SkillsList) { GameObject skill = Instantiate(prefabSkill) as GameObject; skill.transform.SetParent(this.gameObject.transform, false); skillsController.AddSkill(skill); } }