Quantcast
Channel: Latest Questions by Wrymnn
Viewing all articles
Browse latest Browse all 131

Array not working

$
0
0
I have no idea what to do. Pls help. private float[] size_itemNeeded; void Start() { size_itemNeeded = new float[3]; //And it just throws array out of index exception here. size_itemNeeded[1] = 2f; } I was trying it in loop, trying to make it public almost everything I know. Nothing helps. Hope some of you know what is the problem. Yes they are inside normal class and its C#.

Viewing all articles
Browse latest Browse all 131

Trending Articles



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