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:
17
Assets/Scripts/Events/SpawnWaveSOEventChannelSO.cs
Normal file
17
Assets/Scripts/Events/SpawnWaveSOEventChannelSO.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
using Wave;
|
||||
|
||||
namespace Events
|
||||
{
|
||||
[CreateAssetMenu(menuName = "Events/Spawn Wave SO Event Channel")]
|
||||
public class SpawnWaveSOEventChannelSO : ScriptableObject
|
||||
{
|
||||
public event UnityAction<SpawnWaveSO> OnEventRaised;
|
||||
|
||||
public void RaiseEvent(SpawnWaveSO spawnWave)
|
||||
{
|
||||
OnEventRaised?.Invoke(spawnWave);
|
||||
}
|
||||
}
|
||||
}
|
3
Assets/Scripts/Events/SpawnWaveSOEventChannelSO.cs.meta
generated
Normal file
3
Assets/Scripts/Events/SpawnWaveSOEventChannelSO.cs.meta
generated
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 908e283bf3a54c859a0771fd8aed7bce
|
||||
timeCreated: 1690857571
|
Reference in New Issue
Block a user