Example #1
0
 private void OnAppPause(AppPauseEvent evt)
 {
     if (GameSetting.Instance.NotificationEnabled)
     {
         ScheduleNotifications();
     }
 }
Example #2
0
 public void PauseApp()
 {
     // 发送游戏暂停消息
     SendEvent(AppPauseEvent.Create());
 }