cocos2d-iphone我現(xiàn)在在sceneA使用pushScene函數(shù)跳轉(zhuǎn)到sceneB,現(xiàn)在在使用popScene跳轉(zhuǎn)到A,要實(shí)現(xiàn)什么函數(shù)才能完成回調(diào)呢?
1 回答

千巷貓影
TA貢獻(xiàn)1829條經(jīng)驗(yàn) 獲得超7個(gè)贊
From A to B:
[[[CCDirector sharedDirector] pushScene:[sceneB scene]]];
Pop back to A:
[[[CCDirector sharedDirector] popScene]];
Call popScene in the backToSceneA button's block or selector.
- 1 回答
- 0 關(guān)注
- 284 瀏覽
添加回答
舉報(bào)
0/150
提交
取消