using TMPro; using UnityEngine; using UnityEngine.UI; using WI; using WI.UI; namespace XED.UI { public class UI_DistanceLabel : UIBase { private TextMeshProUGUI text_Distance; public void LabelSetting(Vector3 pos, int value) { if (value == 0) { gameObject.SetActive(false); return; } gameObject.SetActive(true); transform.transform.position = pos; text_Distance.text = value.ToString(); } } }