コード例 #1
0
        IEnumerator DeactivateNotification(NotificationObj nO, Text n, List <NotificationObj> queue)
        {
            yield return(new WaitForSeconds(nO.timeVisible));

            n.gameObject.SetActive(false);
            queue.Remove(nO);
        }
コード例 #2
0
 public void AddMainNotificationToQueue(NotificationObj n)
 {
     mainNotificationQueue.Add(n);
 }
コード例 #3
0
 public void AddNotificationToQueue(NotificationObj n)
 {
     notificationQueue.Add(n);
 }