- Home /
Spawning enemies based on array of times
I want to spawn waves of enemies in my games, depending on what is defined in an array. Ideally, something like this: [Enemy][FlightPattern][TimeToSpawn]
Is a multidimensional array the best way to accomplish this? There's many ways to do it, I'm sure. I'm just looking for best practice.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613113931im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Skew animation 0 Answers
Fast-forwarding an animation to its last frame 2 Answers
Gun script help 1 Answer
ai spawning please help 0 Answers
how to make my component disabled after an animation 1 Answer