示例#1
0
    /// <summary>
    /// Opens the dialog_ tip.
    /// 打开提示框;
    /// </summary>
    /// <param name="tipDes">Tip DES.</param>
    /// <param name="callBack">Call back.</param>
    public void OpenDialog_Tip(string tipDes, TipType curTipType, Dialog_Tip.SureContinueCall callBack)
    {
        GameObject OriginalObj = CatchPoolManage.Instance().GetOnePrefabsObj("UI/Tip/Prefabs/Dialog_Tip");
//        if (OriginalObj != null)
//        {
//            Dialog_Tip diaSrc = InstantiateObjFun.AddOneObjToParent<Dialog_Tip>(OriginalObj, RootTransform);
//            diaSrc.curTipType = curTipType;
//            diaSrc.sureContinueCall = callBack;
//
//            diaSrc.TipDes = tipDes;
//        }
    }
示例#2
0
 public void OpenDialog_Tip(string tipDes, Dialog_Tip.SureContinueCall callBack)
 {
     OpenDialog_Tip(tipDes, TipType.callShow, callBack);
 }