Hey everyone! I was wondering if there is a way to instantiate scenes through code, so when the player reaches level 2 for example, Unity instantiates a third level with some prefabs in it, basically making the game infinite.
Thanks!
Hey everyone! I was wondering if there is a way to instantiate scenes through code, so when the player reaches level 2 for example, Unity instantiates a third level with some prefabs in it, basically making the game infinite.
Thanks!
hello, then what you are looking is to have one empty scene, that gets instantiated over and over again. you just need one gameobject for adding the logic of all the prefabs and objects you want to add at runtime.
Created a scene with the menu of his game. But at the time of compilation, incomprehensible actions occur.
After the scene was ready, I clicked on the Build settings. In the window I set up the scenes. Created a folder where the scene should be saved and clicked on Build.
The compiler window has disappeared and in the folder where the scene should be created Empty.
Who faced a similar problem, please tell in detail.