Some confusion regarding two wave config

in the enemy spawner, we init an enemy prefab, inside the enemy prefab we have a parameter wave config, my question is inside enemy spawner we using one wave config and inside enemy prefab we have another wave config, once play, which wave config will be in use?

ps: i tested it is the wave config inside the enemy prefab get used, so in this case i think the code needs to do a small change.

1 Like

Privacy & Terms