Пример #1
0
        SkeletonNode GetNodeRecursive(SkeletonNode a_node, string a_name)
        {
            if (a_node.Name == a_name)
            {
                return(a_node);
            }

            foreach (SkeletonNode node in a_node.Children)
            {
                SkeletonNode val = GetNodeRecursive(node, a_name);

                if (val != null)
                {
                    return(val);
                }
            }

            return(null);
        }
Пример #2
0
        internal Skeleton(SkeletonNode a_node)
        {
            m_rootNode = a_node;

            SetSkeleton(m_rootNode);
        }