// This can be in its own file (e.g., SpawnerConfig.cs) or inside the EnemySpawnerManager.cs file if you prefer. // For better organization, a separate file is often good. using UnityEngine; namespace Beyond { [System.Serializable] // Makes it show up in the Inspector when used in a list public class SpawnerOverrideConfig { public EnemySpawner spawner; // Reference to the EnemySpawner instance in the scene [Tooltip("If assigned, this prefab will override the spawner's own m_prefab.")] public GameObject overridePrefab; [Tooltip("If > -1, this will override the spawner's m_enemiesPerSpawnWave. Set to 0 or less to use spawner's default.")] public int overrideEnemiesPerWave = -1; // You could add more overrides here if needed, e.g., overrideSpawnRadius, overrideMaxWaveRespawns, etc. } }