| | |
| | | int addBuyCnt = 0;
|
| | | bool isLimitCnt = buyItem.CheckIsLimitBuyCnt(buyItem.storeConfig, out canBuyCnt, out addBuyCnt);
|
| | | bool isReachUpper = false;
|
| | | buyCnt = 0;
|
| | | if(itemAttrData.itemConfig.PackCount > 1)
|
| | | buyCnt = buyItem.GetCurBuyCnt(1, GetRemainBuyCnt(), isVipBuy, out isReachUpper);
|
| | | if (itemAttrData.itemConfig.PackCount > 1)
|
| | | {
|
| | | _numberGo.gameObject.SetActive(true);
|
| | | }
|
| | |
| | | if (curVipIndex != -1)
|
| | | {
|
| | | btnGroup.gameObject.SetActive(true);
|
| | | buyCnt = buyItem.GetCurBuyCnt(1, canBuyCnt, isVipBuy, out isReachUpper);
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | {
|
| | | vipInfoText.gameObject.SetActive(false);
|
| | | btnGroup.gameObject.SetActive(true);
|
| | | buyCnt = buyItem.GetCurBuyCnt(1, canBuyCnt, isVipBuy, out isReachUpper);
|
| | | }
|
| | |
|
| | | buyCountText.text = buyCnt.ToString();
|