void Start() { folderPath = Application.dataPath; TreeNode tree = new ModelTreeCreater().EncodedTree(folderPath);// CreateTree(); treeSelector.CreateTree(tree); Debug.Log(tree.childern.Length); }
// Use this for initialization void Start() { selector.CreateTree(node); selector.onSelect = OnSelect; selector.onSelectID = OnSelectId; }