refactor: unify runtime sets, update naming of event channels (#17)
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/woodpecker Pipeline was successful
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ci/woodpecker/push/woodpecker Pipeline was successful
				
			Some general refactors: Turns HeroPartySO into a runtime set class. Make runtime set an IEnumerable Simplify name of events Reviewed-on: #17 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:
		| @@ -4,7 +4,7 @@ using UnityEngine.Serialization; | ||||
| 
 | ||||
| namespace Wave | ||||
| { | ||||
|     [CreateAssetMenu(fileName = "SpawnWave", menuName = "Spawn Wave", order = 0)] | ||||
|     [CreateAssetMenu(fileName = "SpawnWave", menuName = "Spawn/Wave", order = 0)] | ||||
|     public class SpawnWaveSO : ScriptableObject | ||||
|     { | ||||
|         [SerializeField] private List<SpawnPackSO> packs; | ||||
|   | ||||
| @@ -4,6 +4,7 @@ using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using DefaultNamespace; | ||||
| using Events; | ||||
| using RuntimeSet; | ||||
| using UnityEngine; | ||||
| using UnityEngine.Assertions; | ||||
| using Random = UnityEngine.Random; | ||||
| @@ -12,8 +13,8 @@ namespace Wave | ||||
| { | ||||
|     public class WaveSpawner : MonoBehaviour | ||||
|     { | ||||
|         [SerializeField] private SpawnWaveSOEventChannelSO startNewSpawnWaveEventChannel; | ||||
|         [SerializeField] private SpawnWaveSOEventChannelSO endSpawnWaveEventChannel; | ||||
|         [SerializeField] private SpawnWaveEventSO startNewSpawnWaveEventChannel; | ||||
|         [SerializeField] private SpawnWaveEventSO endSpawnWaveEventChannel; | ||||
| 
 | ||||
|         [SerializeField] private EnemyRuntimeSetSO enemyRuntimeSet; | ||||
|         [SerializeField] private Transform spawnCenter; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user