Files
project-reset/Assets/Plugins/LiveWatchLite/TowerDefenceDemo/Scripts/Configs/LevelConfig.cs
2025-08-31 18:14:07 -04:00

28 lines
596 B
C#

using System;
using System.Collections.Generic;
using UnityEngine;
namespace Ingvar.LiveWatch.TowerDefenceDemo
{
public class LevelConfig : ScriptableObject
{
public int MaxHealth = 20;
public int StartGold = 100;
public List<MobWave> Waves = new();
}
[Serializable]
public class MobWave
{
public List<MobSpawn> Spawns = new();
}
[Serializable]
public class MobSpawn
{
public float Delay;
public int MobCount;
public MobMain MobPrefab;
public float SpawnDelayBetween = 0.1f;
}
}