- Home /
Other
Can someone give me an example on looping through arrays?
Can someone give me an example of looping through an array of gameobjects, getting a component from each gameobject preferably with IEnumerator and getting something like the rotation or position of the objects delaying the loop and doing something inbetween loops?
Could you breakdown your requirement in chunks that will make it clear as to what all things you are looking for?
Unity Answers does not write or find code to specification. Unity Answers addresses a single, specific issue to help you write your own code. There are multiple issues here, and there is not enough context: what kind of loop, what language, what kind of delay etc. I suggest you break it apart and attempt each part individually. Then you can put the results together.
Follow this Question
Related Questions
Array loop first element goes last? 1 Answer
Trouble with for loop out of range. Simple? Maybe. 1 Answer
Trouble checking against array objects 0 Answers
Saving and applying an array of Vector3 velocities on an array of GameObjects 1 Answer
creating a 2d array for grid (Not been asked i swear) 1 Answer