/// <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); } }
/// <summary> /// 取消刷新 /// </summary> public void CancelRefresh() { Tips_obj.SetActive(false); }
/// <summary> /// 点击刷新按钮 /// </summary> public void ClickWesternRefresh() { Tips_obj.SetActive(true); }