IEnumerator DeactivateNotification(NotificationObj nO, Text n, List <NotificationObj> queue)
        {
            yield return(new WaitForSeconds(nO.timeVisible));

            n.gameObject.SetActive(false);
            queue.Remove(nO);
        }
 public void AddMainNotificationToQueue(NotificationObj n)
 {
     mainNotificationQueue.Add(n);
 }
 public void AddNotificationToQueue(NotificationObj n)
 {
     notificationQueue.Add(n);
 }