public void CloseUITip(TipConType tipContentType, int CacheCount = -1, bool destoryCache = false, bool recycleParent = true)
 {
     if (TypeToTipPanel.ContainsKey(tipContentType))
     {
         resLoader.ReleaseObj(TypeToTipPanel[tipContentType].gameObject, CacheCount, destoryCache, recycleParent);
         TypeToTipPanel.Remove(tipContentType);
     }
 }
 public void ChangePanelLayer(TipConType tipContentType, PanelLayer panelLayer)
 {
     if (TypeToTipPanel.ContainsKey(tipContentType))
     {
         //已经打开一个同类的Tip,因此是需要刷新
         UIManager.Instance.ChangePanelLayer(panelLayer, TypeToTipPanel[tipContentType].transform);
     }
 }
        public void OpenUITip(TipBtnType tipBtnType, TipConType tipConType, string tipStr,
                              UnityAction EnsureEvent = null, UnityAction CancelEvent = null, PanelLayer panelLayer = PanelLayer.Tip)
        {
            TipData tipData = new TipData();

            tipData.tipBtnType  = tipBtnType;
            tipData.tipConType  = tipConType;
            tipData.EnsureEvent = EnsureEvent;
            tipData.CancelEvent = CancelEvent;
            tipData.tipStr      = tipStr;
            OpenUITip(tipData, panelLayer);
        }