Game Development Reference
In-Depth Information
public GameObject MainMenu;
public GameObject Level1Start;
public GameObject Level2Start;
public GameObject Level2Finish;
public GameObject Level2Repeat;
public GameObject Level3Start;
public GameObject Level3Finish;
public GameObject Level3Repeat;
These are references to the actual pop-up objects that the PopupMgr script
will enable and disable as the game moves from level to level.
11. Make sure to assign the actual instances of these GameObjects to these
variables in the PopupMgr script by either dragging-and-dropping them in or
selecting them from the selection panel.
Congratulations! The pop-up system has been fully refactored for our game. As level
1 is now fully functional, let's turn our attention to integrating the rest of TESTBED2
and TESTBED3 into our game.
Search WWH ::




Custom Search