using UnityEngine; [CreateAssetMenu(fileName = "EnemyCollection", menuName = "Tower Defense/Enemy Enemies")] public class EnemyCollection : ScriptableObject { public EnemyInfo[] Enemies; } [System.Serializable] public struct EnemyInfo { public string name; public float moveSpeed; public bool FlyPath; public GameObject prefab; }