Android back button does not work

后端 未结 5 1129
星月不相逢
星月不相逢 2021-02-06 14:56

I am using cocos2dx to make a small game and in the activity of my game i give the following functions to handle back button.

@Override
 public boolean onKeyDown         


        
5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-06 15:24

    Have you enabled the touch? If not then please enable it and Hope, it'll sort-out your problem.

    I assume that's button in your game screen.

提交回复
热议问题