auto calfun = CallFunc::create(](){
CCLOG(“aaaaa”);
});
auto spw = Spawn::create(calfun, nullptr);
this->runAction(spw);
这段代码为啥会执行2遍cclog呢?没看太懂底层代码哪里有执行2遍
auto calfun = CallFunc::create(](){
CCLOG(“aaaaa”);
});
auto spw = Spawn::create(calfun, nullptr);
this->runAction(spw);
这段代码为啥会执行2遍cclog呢?没看太懂底层代码哪里有执行2遍