Quantcast
Channel: Answers for "Scaling an instantiated object based on prefab, but not prefab"
Browsing latest articles
Browse All 4 View Live

Answer by BilboStabbins

One way to keep track would be to instantiate them and add them to a list / array at the same time. That way you can reference the indexes for which one you want to scale. You can use List.Count to see...

View Article


Answer by astorga

"Instantiate" returns the created GameObject. You just need to get its return to a variable (taken from [manual][1]): // Instantiate a prefab with an attached Missile script var projectile : Missile;...

View Article

Browsing latest articles
Browse All 4 View Live


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