UnityEditor.SketchUpDataSource.InternalFetchEnableNodes C# (CSharp) Method

InternalFetchEnableNodes() private method

private InternalFetchEnableNodes ( SketchUpNode node, List enable ) : void
node SketchUpNode
enable List
return void
        private void InternalFetchEnableNodes(SketchUpNode node, List<int> enable)
        {
            if (node.Enabled)
            {
                enable.Add(node.Info.nodeIndex);
            }
            foreach (TreeViewItem item in node.children)
            {
                this.InternalFetchEnableNodes(item as SketchUpNode, enable);
            }
        }