using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SlotUI : MonoBehaviour { [SerializeField] private int index; [SerializeField] private Image icon; [SerializeField] private Button _button; private void Awake() { _button = GetComponent