private void UpdateText(TextMeshProUGUI text, EffectBase effect) { text.text = effect.RemainingDuration.ToString("0.0"); }