using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "Gather And Defend/Levels/LevelConfig")] public class LevelConfig : ScriptableObject { //IEnumerable for 1. list of type 2. timer. with title of row nbr INSPIRED FROM DATA [SerializeField] private List _constantSpawn = new List(); [SerializeField] private int _gameDuration = 0; public List ConstantSpawn { get { return _constantSpawn; } } public int GameDuration { get { return _gameDuration; } } }