using UnityEngine; [CreateAssetMenu(fileName = "New TowerCollection", menuName = "Tower Defense/Tower Collection")] public class TowerCollection : ScriptableObject { public TowerInfo[] Towers; } [System.Serializable] public struct TowerInfo { public string name; public int price; public GameObject prefab; }