コード例 #1
0
 public void Update()
 {
     if (elapsed < coolDown)
     {
         elapsed += Time.deltaTime;
     }
     else if (messageQueue.Count > 0)
     {
         elapsed -= coolDown;
         PopupText pop = messageQueue.Dequeue();
         pop.ActivatePopUp();
     }
     {
         empty = true;
     }
 }