private void FreshBillboardText() { if (m_AdHeartWatchTimes >= m_AdHeartTotalTimes) { m_AdCountDown.text.text = string.Empty; m_AdIconBtn.button.interactable = true; return; } if (!m_NpcMgr.GetHasHeartAd()) { double dtTime = m_NpcMgr.GetAdDtTime() / 1000; int realLeft = 360 - (int)dtTime; m_AdCountDown.text.text = EZMath.FormateTimeMMSS(realLeft); m_AdIconBtn.button.interactable = false; } else { m_AdCountDown.text.text = string.Empty; m_AdIconBtn.button.interactable = true; } }