CCNode中,
addChild的时候
第一调用,onEnter() //遍历调用child的onEnter();
第二调用,onEnterTransitionDidFinish() //遍历调用child的onEnterTransitionDidFinish();
removeAllChildren()的时候调用
第一调用,onExitTransitionDidStart() //遍历child的onExitTransitionDidStart()
第二调用,onExit() //遍历child的onExit()