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

17 lines
351 B
C#
Raw Normal View History

2024-02-03 04:05:06 +01:00
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;
}