ActionInterval *scale1 = ScaleTo::create(.05f, 1.3f); ActionInterval *scale2 = ScaleTo::create(.1f, 0.0f); l_obj->m_sprElement->runAction(CCSequence::create(scale1,scale2,CCDelayTime::create(.8f),CCCallFuncN::create(this, callfuncN_selector(DressMe_LevelManager::removeTheObjectFromArray)),NULL)); giving error in cocos3.9
error:static_cast from void (DressMe_LevelManager::*) (Dress_ObjectClass ) to cocos2d::SEL_CallfuncN (aka void (cocos2d:Ref::) (cocos2d::Node *) ) is not allowed
Aucun commentaire:
Enregistrer un commentaire