21 lines
494 B
C#
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;
|
|
}
|