Quantcast
Channel: Answers for "creating prefabs in array"
Browsing latest articles
Browse All 4 View Live

Answer by taxvi

on line 9 you create an array of two elements while in the the for loop on line 27 you try to access the first 4 elements of that array

View Article


Answer by karma0413

Array index out of range means that you are trying to access a position in the array, that does not exist. Put in some debug lines that check: 1. How big your array truthfully is 2. Where you are at in...

View Article

Browsing latest articles
Browse All 4 View Live