using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace DisComputer { public class RegItem : MonoBehaviour { [SerializeField] private Text name_txt; // Start is called before the first frame update void Start() { } public void SetName(string val) { name_txt.text = val; } } }