ClientServer/Client/Assets/Scripts/UI/InterpolateHelperTexts.cs
TG9six 03a642d635 first push
first push
2025-09-06 17:17:39 +04:00

23 lines
544 B
C#

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<TextMeshProUGUI>();
textToShow = thisText.text;
}
// Update is called once per frame
void Update()
{
thisText.text = InputMessageHandler.Instance.Interpolate($"{textToShow}");
}
}