how to edit a variable before instantiating it.
Hi I have two game objects one that is the ground that summons objects but those objects need to be able to summon more of themselves. All I need to be able to do is to change a variable before the object is summoned. Is there some way i can do this? Please explain the posses if you can.
I don't get your question. But i think you need random.range (or fix number of gameobject to spawn) and for loop to instantiate gameobject.
where is your code so we know in which script this variable is & how to change it give us some code if you done already
Your answer
![](https://koobas.hobune.stream/wayback/20220612071240im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Microsoft visual studio problem 0 Answers
Increasing player speed over time? 0 Answers
i got an error CS0246 GameManager 0 Answers
Creating constant Function to array elements that are continuous. C# 1 Answer