mirror of https://github.com/axmolengine/axmol.git
issue #18, debug _cmd
This commit is contained in:
parent
4f357e5872
commit
3914006a99
|
@ -116,6 +116,8 @@ void CCTransitionScene::finish()
|
||||||
void CCTransitionScene::setNewScene(ccTime dt)
|
void CCTransitionScene::setNewScene(ccTime dt)
|
||||||
{
|
{
|
||||||
// [self unschedule:_cmd];
|
// [self unschedule:_cmd];
|
||||||
|
// "_cmd" is a local variable automatically defined in a method
|
||||||
|
// that contains the selector for the method
|
||||||
this->unschedule(schedule_selector(CCTransitionScene::setNewScene));
|
this->unschedule(schedule_selector(CCTransitionScene::setNewScene));
|
||||||
CCDirector *director = CCDirector::getSharedDirector();
|
CCDirector *director = CCDirector::getSharedDirector();
|
||||||
// Before replacing, save the "send cleanup to scene"
|
// Before replacing, save the "send cleanup to scene"
|
||||||
|
|
Loading…
Reference in New Issue