17 lines
354 B
C#
17 lines
354 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[] prefabs;
|
|
public float Difficulty;
|
|
} |