private void UF_UpdateText() { if (target != null) { if (string.IsNullOrEmpty(format)) { target.text = clockTimestamp.ToString(); } else { if (useRichText) { target.text = GHelper.UF_ParseTextArithmetic(m_DateTime.ToString(format)); } else { target.text = m_DateTime.ToString(format); } } } if (m_UEventTick != null) { m_UEventTick.Invoke(); } }