| | |
| | | |
| | | if (!bossInfo.IsBossAlive()) |
| | | { |
| | | m_Timer.Begin(bossInfo.refreshTime); |
| | | m_Timer.timeShow.color = demonJarModel.GetSurplusTimes() > 0 ? UIHelper.GetUIColor(TextColType.Green) : UIHelper.GetUIColor(TextColType.Red); |
| | | m_Timer.Begin((int)(bossInfo.refreshTime - TimeUtility.ServerNow).TotalSeconds); |
| | | m_Timer.timeShow.color = UIHelper.GetUIColor(demonJarModel.GetSurplusTimes() > 0 ? TextColType.Green : TextColType.Red); |
| | | } |
| | | } |
| | | else |
| | |
| | | |
| | | private void OnDungeonRecodChange(int _dataMapId) |
| | | { |
| | | m_Timer.timeShow.color = demonJarModel.GetSurplusTimes() > 0 ? UIHelper.GetUIColor(TextColType.Green) : UIHelper.GetUIColor(TextColType.Red); |
| | | m_Timer.timeShow.color = UIHelper.GetUIColor(demonJarModel.GetSurplusTimes() > 0 ? TextColType.Green : TextColType.Red); |
| | | } |
| | | |
| | | } |