You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/Source/Scripts/SO/Waves/Wave.cs

13 lines
371 B
C#

1 month ago
using UnityEngine;
[CreateAssetMenu(menuName = "Game/Wave Settings")]
public class Wave : ScriptableObject
{
[SerializeField] private GameObject[] enemies;
[SerializeField] private float duration;
[SerializeField] private int minLevel;
public GameObject[] Enemies => enemies;
public float Duration => duration;
public int MinLevel => minLevel;
}