示例#1
0
 /// <summary>
 /// 确认刷新
 /// </summary>
 public void ComfirmRefresh()
 {
     ShopMgr.Instance.shopRefreshTime[(int)ShopType.westernshop]++;
     refreshtime_txt.text = ShopMgr.Instance.shopRefreshTime[(int)ShopType.westernshop].ToString();
     Tips_obj.SetActive(false);
     for (int i = 0; i < goodsList.Count; i++)
     {
         goodsList[i].SoldOut_btn.gameObject.SetActive(false);
     }
 }
示例#2
0
 /// <summary>
 /// 取消刷新
 /// </summary>
 public void CancelRefresh()
 {
     Tips_obj.SetActive(false);
 }
示例#3
0
 /// <summary>
 /// 点击刷新按钮
 /// </summary>
 public void ClickWesternRefresh()
 {
     Tips_obj.SetActive(true);
 }