public void RemoveNode(FBehaviorNode node)
        {
            if (node.mParentNode != null)
            {
                node.mParentNode.mChildNodes.Remove(node);
                node.mParentNode = null;
            }

            for (int i = 0; i < node.mChildNodes.Count; i++)
            {
                node.mChildNodes[i].mParentNode = null;
            }

            mBuffNodes.Remove(node.mData.nodeName);
        }
 public void Init(FBehaviorNode node)
 {
     mNode = node;
 }
 public void SetHead(string headHead)
 {
     mRootNode = GetNode(headHead);
     ResetNode();
 }