obj is a GameObject. I’m getting an error trying to add it to my array see below:
var myArray = new Array(); myArray.Add(obj);
I’ve looked all over UnityAnswers - how can I add a GameObject to an array?
It’s been asked a hundred times but none of the answers make any sense to me. if I want to use the array type above is it possible?