Beispiel #1
0
 public void SetTalent(Talent t, TalentTreeBranchUI parent)
 {
     branchParent = parent;
     talent       = t;
     //branchTitle.text = talent.talentName + "\n" + talent.description;
     branchIcon.sprite = talent.icon;
 }
Beispiel #2
0
 public void SetCurrentNode(TalentTreeBranchUI branch)
 {
     currentBranch = branch;
     //Debug.Log("Current node is " + node.branchTitle.text);
 }