如题
controlBtn->addTargetWithActionForControlEvents(this, p1, p2);
p1,p2这两个参数该怎么填?
试试这个
this,cccontrol_selector(ChooseScene::changeMusicVol), Control::EventType::VALUE_CHANGED
如题
controlBtn->addTargetWithActionForControlEvents(this, p1, p2);
p1,p2这两个参数该怎么填?
试试这个
this,cccontrol_selector(ChooseScene::changeMusicVol), Control::EventType::VALUE_CHANGED