void OnApplicationQuit() { string title = LocalizeMgr.Instance.GetLocalizeStr(LocalizeStringKey.NotificationTitle); string message = LocalizeMgr.Instance.GetLocalizeStr(LocalizeStringKey.NotificationMessage); OCBridge.LocalRepeatWeekNotificationMessage(title, message); //OCBridge.LocalIntervalNotificationMessage(title, message, 10); }
void OnApplicationPause(bool paused) { string title = LocalizeMgr.Instance.GetLocalizeStr(LocalizeStringKey.NotificationTitle); string message = LocalizeMgr.Instance.GetLocalizeStr(LocalizeStringKey.NotificationMessage); if (paused) { OCBridge.LocalRepeatWeekNotificationMessage(title, message); //OCBridge.LocalIntervalNotificationMessage(title, message, 10); } else { OCBridge.ClearLocalNotification(); } }