using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "Levels/Level Config")] public class LevelConfig : ScriptableObject { [Header("Objectives")] [TextArea] public List objectives = new List(); [Tooltip("Which objective should be shown first")] public int startObjectiveIndex = 0; [Tooltip("Auto-advance the HUD to next objective when one is completed")] public bool autoAdvanceOnComplete = true; [Tooltip("Index in 'objectives' that represents 'Clear all waves' (set -1 to skip)")] public int clearWavesObjectiveIndex = -1; [Header("Waves (optional)")] [Tooltip("If assigned, Level1 will push these into the WaveSpawner at runtime")] public WaveSpawner.Wave[] waves; public float timeBetweenWaves = 3f; }