Exemplo n.º 1
0
        /// <summary>
        /// 典当回调
        /// </summary>
        /// <param name="callBackParam">返回剩余礼物和当前金币 </param>
        public override void pawnshop2CallBack(PawnshopDto callBackParam)
        {
            UIPlayerGiftPanel uIPlayerGiftPanel = MessageManager.GetInstance.GetUIDict <UIPlayerGiftPanel>();

            if (uIPlayerGiftPanel != null)
            {
                if (uIPlayerGiftPanel.gameObject.activeSelf)
                {
                    //更新剩余礼物的数量
                    uIPlayerGiftPanel.UpdateUI(callBackParam.productId, callBackParam.productHoldCount);
                }
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// 当铺 返回剩余礼物和当前金币 ----> <<pawnshop();回调>>
 /// </summary>
 public virtual void pawnshop2CallBack(PawnshopDto callBackParam)
 {
 }