Beispiel #1
0
 public bool DoComment(string text, bool ignoreCooldown = false)
 {
     if (currentTime >= coolDownTime || ignoreCooldown)
     {
         currentTime = 0;
         TextScroller scroller = GetFirstInactiveTextScroller();
         if (scroller != null)
         {
             scroller.EnableText(transform.position, text);
             return(true);
         }
     }
     return(false);
 }