Unity Fundamentals: Wave Spawning and Scriptable Objects in under 8 min

preview_player
Показать описание
Everything you need to know about wave spawning in unity using the Scriptable Objects feature to allow for rapid development and creation!

Wave Spawner Script:

Wave Class:

Discord:
Рекомендации по теме
Комментарии
Автор

Hey! Nice video! I am a game programmer student and this was very easy to follow and gave me not only the knowleadge for this particular thing but also how I might make things myself using scriptable objects. I think you deserve a lot more views!

Allkams
Автор

This is awesome, I searched and found a few videos on wave spawning systems, but they aren't as customizable as this. Thanks for the video!

DanielAttaway
Автор

Hey! I'm trying to customize this by adding an enemy spawn rate so all of the enemies don't spawn in at the same time at each spawnpoint. how would I do that?

JustJordonn
Автор

Nice video!
Would be nice if you do a follow up of this, but now showing how this should work with a Pool instead of instantiating every spawn time a gameObject. That would cause less garbage collector allocation and the game will work faster!

FernandoMirabile
Автор

Hello. I'm making a spawning similar similar to this, but I am using serializable classes and regular variables, instead of scriptable objects with properties. Because of this video I tried using properties, since they are better tbh, but they don't seem to work with serializable classes, idk. I did originally have scriptable objects for waves, but then switched. I'm just wondering, which do you think is more efficient: SO with properties, or Serializable classes with regular variables?

yaboishadowninja
Автор

I need help, i put the "Number to Spawn to 2 or more, but only spawn 1.
I literaly copy paste your code.

The Spawn Point, is the same, for all 3 waves.

MonsterKazzie
Автор

Nice video! I feel like you also need pooling to make it perfect, if you are spawning lots of enemies.

WeirdGoat
Автор

Hey, this was amazing, my only question is how would I go about doing this if my enemies are scriptable objects as well.
Thanks in advanced

TheBrentperry
Автор

So doing that how am I supposed to difference the enemy health so for example i'm gonna set 20 enemies using the same scriptable object but when I try to do that they are losing all of them the same amount of damaged hp. How I would tell that I want to hit the same enemy individually?

nikoart
Автор

hi, I want to spawn my enemys not all at once, but at different time (like 1 second apart) in the samve wave. How to do that?

gaslightingbruh
Автор

I tried to spawn 3 enemies, but they all appeared in the same position. how can all spawn points be filled instead of spawning at the same point?

yamaNGap
Автор

Hey like to know How to destroy the wave object Touch input I am making something similar and I don't know how to destroy object wave on of the time white touch input

freshcooleyigun
join shbcf.ru