Example #1
0
        protected void DoForeach()
        {
            m_CloneIndex++;
            CloneTree tree = new CloneTree();

            tree.Owner = GameEntry.BT.GetOwnerByNode(this);
            tree.CloneChildren(this);
            GameEntry.BT.Run(tree);
        }
Example #2
0
        protected void DoForeach()
        {
            mCloneIndex++;
            CloneTree tree = new CloneTree();

            tree.Owner = BTTreeManager.Instance.GetOwnerByNode(this);
            tree.CloneChildren(this);
            BTTreeManager.Instance.Run(tree);
        }