Exemplo n.º 1
0
 // called when the user presses the back button on the device
 protected override void OnBackKeyPress(CancelEventArgs e)
 {
     m_d3dInterop.OnBackKeyPress();
     // cocos2d-x will async send Cocos2dEvent.TerminateApp event if it is time to exit app.
     // We do not want to exit now, so we set e.Cancel to true.
     e.Cancel = true;
 }
Exemplo n.º 2
0
 protected override void OnBackKeyPress(CancelEventArgs e)
 {
     e.Cancel = m_d3dInterop.OnBackKeyPress();
 }