Example #1
0
 public void Bubble(BubbleItem item)
 {
     if (null == item)
     {
         return;
     }
     BubbleItem.Entry entry = item.Add(txt, duration);
     if (useColor)
     {
         entry.SetTextColor(textColor);
     }
 }
Example #2
0
 public void ReleaseItem()
 {
     if (null != itemGo)
     {
         if (isFollowing)
         {
             isFollowing = false;
             Follow3DBy2D.StopFollower(itemGo);
         }
         CachedClone.RemoveClone(itemGo, false);
         itemGo = null;
         item   = null;
     }
 }