protected void DoForeach() { m_CloneIndex++; CloneTree tree = new CloneTree(); tree.Owner = GameEntry.BT.GetOwnerByNode(this); tree.CloneChildren(this); GameEntry.BT.Run(tree); }
protected void DoForeach() { mCloneIndex++; CloneTree tree = new CloneTree(); tree.Owner = BTTreeManager.Instance.GetOwnerByNode(this); tree.CloneChildren(this); BTTreeManager.Instance.Run(tree); }