| | |
| | | |
| | | public int GetRecommendNpc() |
| | | { |
| | | if (bigBoxCollectCount < 2) |
| | | if (bigBoxCollectCount < GeneralConfig.Instance.dogzBoxLimit) |
| | | { |
| | | return bigBoxNpcId; |
| | | } |
| | |
| | | case 2: |
| | | m_ContainerBoxCollectWeary.gameObject.SetActive(true); |
| | | m_ContainerBossKillWeary.gameObject.SetActive(false); |
| | | var bigBoxCollectCountLimit = 2; |
| | | var bigBoxCollectCountLimit = GeneralConfig.Instance.dogzBoxLimit; |
| | | m_BoxCollectWearyValue.text = StringUtility.Contact(model.bigBoxCollectCount, "/", bigBoxCollectCountLimit); |
| | | m_BoxCollectWearyValue.colorType = model.bigBoxCollectCount >= bigBoxCollectCountLimit ? TextColType.Red : TextColType.DarkGreen; |
| | | break; |