- Home /
Create varying numbers of gameObjects/prefabs in sceneview?
Is there any way to create multiple numbers of gameObjects/prefabs in the sceneview, that would change dynamically? What I want to achieve is to have a slider or an input box (like one you could get in a script component by making an int variable public) that I could change, so that in sceneview before runtime the number of a particular object would shrink and grow to match the number I put in? I have made a script like this before to instantiate multiple objects, each a certain distance away from each other, however this happened during run time, so the objects didn't actually exist within the editor before I clicked play.
I have looked at InstantiatePrefab and editor scripts, and I'm pretty sure they are the way to do this, but right now I don't have anyway to instantiate multiple objects from outside of the script. That being said I'm open to any way of doing this.
Thank you