I want to “select” specific gameObjects in an array of gameObjects. In my case specifically, I want to modify all the gameObjects in the array, excluding the first gameObject (gameobject[0]).
Is there a way to somehow specify gameObject[1 - entire array of gameObjects after 1]? I suppose I would compare it to a range of integers that specify specific positions in the array (1 - gameObjectArray.Length) or something like that.
Try a for loop for (int i = 1; i < myArray.Length; i++){ myArray*.myMethod();* }
– KiwasiThis is a working solution to my problem, but you should probably resubmit this as an answer instead of a comment. Thanks!
– CoolSmek