using UnityEngine; using UnityEngine.UI; namespace SpellBoundAR.CustomTextures.UI { [RequireComponent(typeof(Button))] public class CustomTextureIndexSpawnButton : MonoBehaviour { [Header("References")] [SerializeField] private CustomTextureIndex customTextureIndexPrefab; [SerializeField] private Transform customTextureIndexParent; [Header("Cache")] private Button _button; private void Awake() { _button = GetComponent