阅读背景:

使用dispatch_block_t时EXC_BAD_ACCESS

来源:互联网 

I have a game menu, intro scene and game itself. If player is dead I would like to show game menu again. When game starts menu shows up. Pressing new game shows intro scene as it should. After some time of animation self.sceneEndCallback() is triggered and game scene is shown. When player is dead self.gameEndCallback() crashes with EXC_BAD_ACCESS. I have a game menu, intro scene and game itself




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: