this->pauseSchedulerAndActions(); //Pauses all actions but also pauses the scheduled update
I need my update method to keep rolling so that it can test for when to resume the actions.
Is there a way to only pause the actions in a certain object.
this->pauseSchedulerAndActions(); //Pauses all actions but also pauses the scheduled update
I need my update method to keep rolling so that it can test for when to resume the actions.
Is there a way to only pause the actions in a certain object.
If you look into this function, you would find the answer very soon.
void CCNode::pauseSchedulerAndActions()
{
CCScheduler::sharedScheduler()->pauseTarget(this);
CCActionManager::sharedManager()->pauseTarget(this);
}
So have you found the solution now?
Thank-you Walzer Wang.
That was exactly the solution.
Hi,
I have same problem here, then how to resume them after that? (without create new same schedule)
Thanks!