public static void RemoveScheduledNotificaion(int id)
        {
            List <int> scheduledNotificaions = NotificationIdHandler.GetScheduledNotificaions();

            scheduledNotificaions.RemoveAll((int i) => i == id);
            NotificationIdHandler.SetScheduledNotificaions(scheduledNotificaions);
        }
        public static void AddScheduledNotificaion(int notificationId)
        {
            List <int> scheduledNotificaions = NotificationIdHandler.GetScheduledNotificaions();

            scheduledNotificaions.Add(notificationId);
            NotificationIdHandler.SetScheduledNotificaions(scheduledNotificaions);
        }
        public static int GetNotificationId()
        {
            List <int> scheduledNotificaions = NotificationIdHandler.GetScheduledNotificaions();
            int        num;

            do
            {
                num = UnityEngine.Random.Range(0, int.MaxValue);
            }while (scheduledNotificaions.Contains(num));
            return(num);
        }
 public static void RemoveAllScheduledNotificaions()
 {
     NotificationIdHandler.SetScheduledNotificaions(new List <int>());
 }