123456789101112131415161718192021222324252627 |
- 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<TextMeshProUGUI>();
- _textMeshPro.text = name.Replace("Item", "");
- }
- // Start is called before the first frame update
- void Start()
- {
-
- }
- // Update is called once per frame
- void Update()
- {
-
- }
- }
|