Hey guys, first time poster here. I’ve done some searching about this question, both on these forums and through Google, and I haven’t found any answers that relate to my specific situation.
I’m trying to make a mini-game that pops up in an overlay, pausing the main scene underneath until the user finishes the mini-game. For clarification, it works similarly to the hacking minigame in Bioshock 1 (the mechanics of the minigame itself are different, but the interaction between it and the main game is the same).
There are two ways I can think to do this:
- Pause the scene, load a 2nd scene as an overlay, (when user finishes) update my global variables with the changes made by the mini-game (new items won, doors unlocked, etc.), delete the overlay, and unpause the main scene
- Serialize and save the scene data, load a completely separate scene, do the minigame stuff (as in #1), reload the 1st scene from the saved data.
I have no clue how to develop either option! ![]()
I mean, theoretically, I know how it would go. But specifics of scripting? That’s another story.
If you could give me some tips, point me in the right direction, explain how you would go about creating this setup, or even link to an external article or something, that would be awesome.
I’ve used the forums in the past to find answers to questions that other people have asked previously. I know you guys are awesome. The unity community seriously rocks.