コード例 #1
0
 public void OnAddTalent(TalentHolder talentHolder) // on click at talent's list
 {
     crafter.view.holderSelected.glowImg.gameObject.SetActive(false);
     crafter.view.craftDescriptionPanel.SetPanel(talentHolder.Talent, (CraftHolder)talentHolder);
     crafter.AssignTalent(talentHolder.Talent);
     if (!tutorialVar)
     {
         tutorialVar = true;
         crafter.tutorial.ContinueTutorial();
     }
     Destroy(talentHolder.transform.parent.parent.gameObject);
 }