Files
Cielonos/Assets/OtherPlugins/HUD-Navigation-System/Scripts/Utilities/Adapters/HNSTextAdapter_TMP.cs
2026-04-18 13:57:19 -04:00

21 lines
398 B
C#

#if TMP_PRESENT
using TMPro;
namespace SickscoreGames.HUDNavigationSystem.Adapters
{
public class HNSTextAdapter_TMP : IHNSTextAdapter
{
private TextMeshProUGUI _text;
public HNSTextAdapter_TMP(TextMeshProUGUI text)
{
_text = text;
}
public void SetText(string text)
{
_text.text = text;
}
}
}
#endif