コード例 #1
0
    void OnClick()
    {
        skillDescriptionPanel.SetActive(true);
        _skillTreePanelController.setActivePanel(false);

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