Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Why this script crashes Unity

$
0
0
Hi, I've been working on a spawning script to end up spawning enemies/ asteroids with the intention of making them spawn faster (so after 10 seconds there's a spawn, then after 9 seconds another spawn and 8 etc.) but I haven't been able to get the code to work and now I can't find errors in the script but it's crashing Unity when ran. I think it could be something to do with the loop or time algorithms. Any help on this would be greatly appreciated, thanks! *Also any of the comments in the code are mainly just for testing purposes.* ![alt text][1] ![alt text][2] [1]: /storage/temp/84032-screenhunter-06-dec-13-2250.jpg [2]: /storage/temp/84033-2.jpg

Viewing all articles
Browse latest Browse all 2383

Trending Articles