Exemple #1
0
 public Node FindNode(TreePath path)
 {
     if (path.IsEmpty())
         return _root;
     else
         return FindNode(_root, path, 0);
 }
Exemple #2
0
 public System.Collections.IEnumerable GetChildren(TreePath treePath)
 {
     if (treePath.IsEmpty())
         return _list;
     else
         return null;
 }
Exemple #3
0
 public TreeNodeAdv FindNode(TreePath path, bool readChilds)
 {
     if (path.IsEmpty())
         return _root;
     else
         return FindNode(_root, path, 0, readChilds);
 }
Exemple #4
0
 public GameObject FindNode(TreePath path)
 {
     if (path.IsEmpty()) return Root;
     else return path.LastNode as GameObject;
 }