- Home /
Question by
GC1983 · Feb 25, 2012 at 09:32 AM ·
gameobjectarrayscript referencing
Referencing an Array of Objects
I want one script to cross reference multiple copies of a prefab in the scene. So when I click on a GUI button, it will manipulate all of the prefabs I have assigned in another script. Anyone know how to cross reference an array of game objects?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613064451im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Transport unknown amout of objects with GameObject array 0 Answers
View an array of the transform position/rotation of all game objects with a specified tag., 0 Answers
Access a String array in one script from another script 0 Answers
Spawning GameObjects with help of classes --- Attaching classes to GameObjects 1 Answer
Can one specify the parent of a gameobject in an array? 2 Answers