18 lines
372 B
C#
18 lines
372 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using Wave;
|
|
|
|
namespace Level
|
|
{
|
|
public class LevelDirector : MonoBehaviour
|
|
{
|
|
[SerializeField] private WaveSpawner waveSpawner;
|
|
[SerializeField] private List<SpawnWaveSO> spawnWaves;
|
|
|
|
private void Start()
|
|
{
|
|
waveSpawner.Begin(spawnWaves);
|
|
}
|
|
}
|
|
} |