using System; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class ScrollItem : MonoBehaviour { private TextMeshProUGUI _textMeshPro; private void Awake() { _textMeshPro = gameObject.GetComponentInChildren(); _textMeshPro.text = name.Replace("Item", ""); } // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }