void OnClick() { skillDescriptionPanel.SetActive(true); _skillTreePanelController.setActivePanel(false); _skillTemplateController = skillDescriptionPanel.transform.FindChild("SkillTemplate").GetComponent <SkillTemplateController>(); _skillTemplateController.initializeStuff(skillId); }
void OnClick() { _skillTreePanelController.setActivePanel(true); //TODO: Find a better way to call this, lol this.transform.parent.transform.parent.gameObject.SetActive(false); }