Cocos2d ReplaceScene 执行函数顺序
一
[sceneA replace sceneB]
执行函数顺序 [A init];
[A onenter];
[A onEnterTransitionDIdFinish];
[B dealloc];
一
[sceneA replace sceneB]
执行函数顺序 [A init];
[A onenter];
[A onEnterTransitionDIdFinish];
[B dealloc];