void Update() { if (Input.GetKeyUp(KeyCode.Escape)) { if (PlatformHelper.IsChannelTW()) { if (!UIManager.PopOpenedList()) { PushNotification.NotificationMessage2Clinet(); PushNotification.NotificationMessage2Server(); doSdk("showQuit", ""); } } else { PushNotification.NotificationMessage2Clinet(); PushNotification.NotificationMessage2Server(); doSdk("showQuit", ""); } } }