Пример #1
0
 private void resumeIfHasFocus() {
   if (hasFocus) {
     this.hideVirtualButton();
     Cocos2dxHelper.onResume();
     mGLSurfaceView.onResume();
   }
 }
 @Override
 protected void onResume() {
   super.onResume();
   mGLView.onResume();
 }