private void OnApplicationPause(bool pauseStatus) { if (!pauseStatus) { Time.timeScale = 1; LocalNotification.DisableRetentionNotification(); return; } // =============================== SAVE TIME ONLINE ================================ // PlayerData._LastTimeOnline = Helper.GetUtcTimeString(); PlayerData.SaveLastTimeOnline(); LocalNotification.EnableRetentionNotification(); Time.timeScale = 0; }