cocos2d-x 将一个节点从其父节点上移除,加到另外一个节点上 childNode->retain(); // 引用计数childNode->removeFromParent(true);otherNode->addChild(childNode);