Quantcast
Channel: Questions in topic: "script referencing"
Viewing all articles
Browse latest Browse all 41

Referencing an Array of Objects

$
0
0
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?

Viewing all articles
Browse latest Browse all 41

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>