Michael
7b48612c4b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Implements basic waves of enemies that spawn. #11 Reviewed-on: #16 Reviewed-by: zephyr <zephyr@noreply.localhost> Co-authored-by: Michael <mep053@gmail.com> Co-committed-by: Michael <mep053@gmail.com>
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);
|
|
}
|
|
}
|
|
} |