狗屎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
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d85ff5f60304b2c8a2b3ec6eea80b6a
|
||||
timeCreated: 1773741624
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Utilities/Adapters/HNSTextAdapter_TMP.cs
|
||||
uploadId: 884440
|
||||
@@ -0,0 +1,19 @@
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace SickscoreGames.HUDNavigationSystem.Adapters
|
||||
{
|
||||
public class HNSTextAdapter_UI : IHNSTextAdapter
|
||||
{
|
||||
private Text _text;
|
||||
|
||||
public HNSTextAdapter_UI(Text text)
|
||||
{
|
||||
_text = text;
|
||||
}
|
||||
|
||||
public void SetText(string text)
|
||||
{
|
||||
_text.text = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7e48b9ad97ec458f85f1f2c52d5dae6d
|
||||
timeCreated: 1773741782
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Utilities/Adapters/HNSTextAdapter_UI.cs
|
||||
uploadId: 884440
|
||||
Reference in New Issue
Block a user