cocos2d-x 将一个节点从其父节点上移除,加到另一个节点上

childNode->retain();  // 引用计数
childNode->removeFromParent(true);
otherNode->addChild(childNode);rem

相关文章
相关标签/搜索