TowerDefenseGame/Assets/Scripts/Runtime/AI/EnemyManager/EnemySpawnInfo.cs
2025-08-03 23:31:00 -07:00

21 lines
494 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using static EnemySpawnerData;
[CreateAssetMenu(fileName = "EnemySpawnInfo", menuName = "Enemy Spawn Info")]
public class EnemySpawnInfo : ScriptableObject {
[Header("Info")]
public Enemies Type;
public GameObject Prefab;
public int MaxSpawnCount;
public int CurrentSpawnCount;
public int MaxCountPerSpawn;
public bool CanStartSpawning;
}