ive been watching a tutorial on making inventory systems in unity but I cant figure out why this one bit keeps on giving me errors
in the tutorial ([Unity 5] Placing Tiles | Episode 5 | Let's Make a 2D Survival / Sandbox Platformer Game in Unity - YouTube) he tells us to create a string array in his version in the brackets he has no number but mine gives me errors because of this and when I put the right number in (9) it gives me the error Expression denotes a value', where a `method group' was expected
I cant see what he did clearly in the video because of the crappy quality, and the source code is not updated to this episode
heres my code string[] names = new string[9]("Grass", "Dirt", "Stone", "Dry Sand", "Wet Sand", "Coal", "Iron", "Gold", "Diamond" );