using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class InterpolateHelperTexts : MonoBehaviour { private string textToShow; private TextMeshProUGUI thisText; // Start is called before the first frame update void Awake() { thisText = GetComponent(); textToShow = thisText.text; } // Update is called once per frame void Update() { thisText.text = InputMessageHandler.Instance.Interpolate($"{textToShow}"); } }