| | |
| | | if (endTime == 0) |
| | | { |
| | | //未开始 |
| | | timeText.text = TimeUtility.SecondsToMS(config.NeedSeconds); |
| | | timeText.text = TimeUtility.SecondsToHMS(config.NeedSeconds); |
| | | refreshRect.SetActive(true); |
| | | callBackBtn.SetActive(false); |
| | | |
| | |
| | | } |
| | | else |
| | | { |
| | | timeText.text = TimeUtility.SecondsToMS(endTime - TimeUtility.AllSeconds); |
| | | timeText.text = TimeUtility.SecondsToHMS(endTime - TimeUtility.AllSeconds); |
| | | refreshRect.SetActive(false); |
| | | callBackBtn.SetActive(true); |
| | | RefreshCallBackBtn(); |
| | |
| | | var endTime = GoldRushManager.Instance.GetCampEndTime(GoldRushManager.Instance.selectCampID); |
| | | if (endTime != 0) |
| | | { |
| | | timeText.text = TimeUtility.SecondsToMS(endTime - TimeUtility.AllSeconds); |
| | | timeText.text = TimeUtility.SecondsToHMS(endTime - TimeUtility.AllSeconds); |
| | | |
| | | var addStr = new string('.', (int)Time.time % 4); |
| | | workingText.text = Language.Get("GoldRush37") + addStr; |
| | |
| | | if (endTime == 0) |
| | | { |
| | | //未开始 |
| | | timeText.text = TimeUtility.SecondsToMS(config.NeedSeconds / Math.Max(1, count)); |
| | | timeText.text = TimeUtility.SecondsToHMS(config.NeedSeconds / Math.Max(1, count)); |
| | | } |
| | | else |
| | | { |
| | | timeText.text = TimeUtility.SecondsToMS(endTime - TimeUtility.AllSeconds); |
| | | timeText.text = TimeUtility.SecondsToHMS(endTime - TimeUtility.AllSeconds); |
| | | RefreshCallBackBtn(); |
| | | } |
| | | } |