/// <summary> /// Starts the countdown timer /// </summary> public void StartCountDown(float secondsToCount, Action onReachTarget) { m_countDown = true; m_onReachTarget = onReachTarget; m_targetTime = secondsToCount; m_startTime = m_manager.GetTimePassed(); m_frontText.color = m_normalColor; }