1、当回调函数有一个参数时:
auto fun = CallFuncN::create(std::bind(&类名::回调函数名字, this, std::placeholders::_1));
例子:CallFuncN::create(std::bind(&SpriteFrameAnimation::onRemove, this, std::placeholders::_1));
1、当回调函数有一个参数时:
auto fun = CallFuncN::create(std::bind(&类名::回调函数名字, this, std::placeholders::_1));
例子:CallFuncN::create(std::bind(&SpriteFrameAnimation::onRemove, this, std::placeholders::_1));