- Home /
What's the best way to swap between minigames and a main game?
I hate that the best example I have of this is Among Us, but say you wanted a game where there's a global objective (move from point A to B) and a few local objectives (complete minigames along the way). What's the best structure for setting up this kind of system, without swapping scenes any time you wanted to load in a new game?
Sadly I don't have example code, as this feature is coming later in development. But wanted to pick some brains so I'm more prepared when I get to it!
Answer by rh_galaxy · Jan 13 at 06:20 AM
I would do it by moving the camera to a new location, say a 1000 units away, like I do in the menu of my game now, but I don't know if it's the best way. Maybe you also need to switch the background skybox.
RenderSettings.skybox = newSkyBoxMaterial;
That's what I ended up doing. Having a few different UI elements and cameras that I could swap between. Seems to have worked the best for me.
Your answer
Follow this Question
Related Questions
Playable Loading Screen, does it make sense? Advanced loading screen 2 Answers
Unity short Black Screen after loading scene 1 Answer
Attempting to Create an Essential SceneElements Checker 0 Answers
Which is Light Baking approach is best for maintaining smooth continuous level loading? 0 Answers
Inconsistent Scene loading, Armature Rotation problem. 0 Answers