using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SpawnButton : MonoBehaviour { [SerializeField] private Button buttonPrefab; [SerializeField] private GameObject parent; [SerializeField] private List