狗屎Minimax坏我代码
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user