fgm24/Assets/Scripts/Enemy/EnemyList.cs

17 lines
354 B
C#
Raw Permalink 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
{
2024-02-03 17:33:45 +01:00
public GameObject[] prefabs;
2024-02-03 04:05:06 +01:00
public float Difficulty;
}