Implement wave based spawning of enemies #11
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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>
This commit is contained in:
18
Assets/Scripts/Level/LevelDirector.cs
Normal file
18
Assets/Scripts/Level/LevelDirector.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
3
Assets/Scripts/Level/LevelDirector.cs.meta
generated
Normal file
3
Assets/Scripts/Level/LevelDirector.cs.meta
generated
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a91533ae182d470c88ce779956713e02
|
||||
timeCreated: 1690927896
|
Reference in New Issue
Block a user