Enemy spawn system. I want easy enemies to spawn first then medium after that i want hard enemies to spawn nonstop. i want it a endless spawn Please [closed]

↘锁芯ラ 提交于 2019-12-02 13:07:37

I believe you need to set your enemyCount variable to be set to the length of your array. What if you have 15 enemies in the array and enemyCount is still 20? Sounds like an IndexOutOfRangeException to me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!