fgm24/Assets/Scripts/Controller/EnemySpawner/EnemyList.cs

17 lines
351 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "data", menuName = "Zhen/SpawnerList")]
public class EnemyList : ScriptableObject
{
public EnemyPrefabInfo[] List;
}
[Serializable]
public struct EnemyPrefabInfo
{
public GameObject prefab;
public float Difficulty;
}