public void RefreshText() { string text = _text.GetLocalisedString(); if (_textMesh.text != text) { _textMesh.text = text; } }
void Update() { string text = _text.GetLocalisedString(); if (_UIText.text != text) { _UIText.text = text; } }
public void RefreshText() { TextMeshProUGUI textMesh = GetTextMesh(); string text = _text.GetLocalisedString(); if (textMesh.text != text) { textMesh.text = text; } }