// 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; }
protected override void OnBackKeyPress(CancelEventArgs e) { e.Cancel = m_d3dInterop.OnBackKeyPress(); }