Hey guys i need some help…
I created a 2D array that is 10x10, Now i have to fill those arrays with game objects of a grid that is 10x10.
Grid is create with 100 cells that each use this script. Now i don’t have any easy way to put all this cell in arrays with a script, because the only way (that i know) is to create 100 public gameObject variables. That means i would have to chose each cell for a variable manually with editor. And do that 100 times for each cell with this script. That’s why im looking for a solution within a script. If you know that solution please anwser below. And if you could please don’t be mean, im new to Unity.
Thank you in advance.