Ejemplo n.º 1
0
 private void Update()
 {
     //queue for achievements.
     if (_settingsQueue.Count > 0)
     {
         if (UIScript.AchievementDone())
         {
             AchievementSettings setting = _settingsQueue.Peek();
             UIScript.DisplayAchievementForTime(displayTime, setting.title, setting.description.Replace("#", "" + setting.count));
             _settingsQueue.Dequeue();
         }
     }
 }