FairyGUI.TreeView.TreeView C# (CSharp) Method

TreeView() public method

public TreeView ( GList list ) : System
list GList
return System
        public TreeView(GList list)
        {
            this.list = list;
            list.onClickItem.Add(__clickItem);
            list.RemoveChildrenToPool();

            root = new TreeNode(true);
            root.SetTree(this);
            root.cell = list;
            root.expanded = true;

            indent = 30;

            onClickNode = new EventListener(this, "onClickNode");
        }