public override void DoUpdate()
 {
     if (ticker.IsEnable())
     {
         if (waittingitem.Count > 0)
         {
             NumTipItem item = waittingitem[0];
             waittingitem.RemoveAt(0);
             CreateTipEnum(root, item.Position, item.delta, item.num, fontDatas[item.fontName], item.animName, item.type);
         }
     }
 }
 public void CreateTip(Vector3 position, string num, string fontName, string animName, NumTip.OFFSET_TYPE type = NumTip.OFFSET_TYPE.NONE)
 {
     fontName = fontName.ToLower();
     if (null == root)
     {
         root = new GameObject("3d Tips");
     }
     if (fontDatas.ContainsKey(fontName))
     {
         NumTipItem item = new NumTipItem();
         item.type     = type;
         item.animName = animName;
         item.delta    = position;
         item.num      = num;
         item.Position = Owner.Position;
         item.fontName = fontName;
         waittingitem.Add(item);
     }
 }