Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

My code is making an "Index was outside of the bounds of the array" error message, how do I fix this?

$
0
0
I'm pretty new to C# so it might be something stupid but here is the code Instantiate(enemy, spawnPoints[Random.Range(1, spawnPoints.Length)].position, Quaternion.identity);

Viewing all articles
Browse latest Browse all 2891

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>