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

千巷貓影
TA貢獻1829條經(jīng)驗 獲得超7個贊
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 關注
- 260 瀏覽
添加回答
舉報
0/150
提交
取消