コード例 #1
0
 public void NewTree(string tName)
 {
     //OnOldSkillWillBeDestroyed?.Invoke(skillTree);
     skillTree          = new SkillTree(tName);
     skillTree.TreeName = tName;
     OnNewSkillTreeCreated?.Invoke(skillTree);
 }
コード例 #2
0
 public void LoadTree(Skill[] loadedTree, string tName)
 {
     //OnOldSkillWillBeDestroyed?.Invoke(skillTree);
     skillTree = new SkillTree(tName, false);
     skillTree.ResetTree(loadedTree);
     skillTree.TreeName = tName;
     OnNewSkillTreeCreated?.Invoke(skillTree);
 }