Exemple #1
0
 public override void Show(bool b = true, bool useGroup = true, bool force = false)
 {
     if (b)
     {
         //所有的Tooltip均为互斥
         if (CurShow != null && CurShow != this)
         {
             CurShow.Show(false, true, true);
         }
         CurShow = this;
         RectTrans.SetAsLastSibling();
         closeInvoke?.Kill();
         base.Show(b, useGroup, force);
     }
     else
     {
         closeInvoke?.Kill();
         if (force)
         {
             base.Show(b, useGroup, force);
         }
         else
         {
             closeInvoke = Util.Invoke(() => base.Show(b, useGroup, force), 0.01f);
         }
     }
 }