using TMPro; namespace UVC.UI { public class UVCKeyValueItem : MonoBehaviour { TextMeshProUGUI text_Key; TextMeshProUGUI text_Value; private void Awake() { text_Key = transform.Find(nameof(text_Key)).GetComponent(); text_Value = transform.Find(nameof(text_Value)).GetComponent(); } public void SetValue(string value) { text_Value.SetText(value); } } }