0
当我从视图控制器添加UIImageview时,我想使touchesbegan方法处于非活动状态,直到按下uiimage。Touchesbegan方法从视图控制器处于非活动状态
现在我已经设置了一切,我只需要知道如何通过在viewcontroller中设置代码(仅)来防止gamescene注意到触摸。
任何人都知道如何?
GameScene.paused = true // this pauses the game, but the touchesbegan method is still active!