2026-05-18 버그 수정
This commit is contained in:
20
Assets/02_Scripts/Enemy/WaveData.cs
Normal file
20
Assets/02_Scripts/Enemy/WaveData.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "WaveData", menuName = "Combat/WaveData")]
|
||||
public class WaveData : ScriptableObject
|
||||
{
|
||||
public string WaveName;
|
||||
public List<SpawnEntry> Spawns = new();
|
||||
public float TimeLimit = 30f;
|
||||
public float SpawnInterval = 0.3f;
|
||||
public float StartDelay = 0f;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class SpawnEntry
|
||||
{
|
||||
public Enemy EnemyPrefab;
|
||||
public int Count = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user