Cocos2d—X游戏开发之CCToggle(菜单标签切换) 首先继承子CCMenu,是菜单标签中的一种.‘ class CC_DLL CCMenuItemToggle : public CCMenuItem { /** returns the selected item */ CC_PROPERTY(unsigned int, m_uSelectedIndex, SelectedIndex); /** CCMutableArray that contains the subitems. You