The Options window

We need an Options window to hold our future game's available options. We can simply duplicate our main menu page and remove the buttons from it:

  1. Select our UI Root | Main GameObject, and duplicate it by pressing Ctrl + D.
  2. Rename this new duplicate Options.

The new Options window is currently displayed over our main menu. For now, hide our main menu by disabling our Main GameObject:

  1. Select our UI Root | Main GameObject.
  2. Uncheck the checkbox (1) in front of its name, as shown in the following screenshot:
    The Options window

Ok, only our new Options window is displayed. It still has our main menu's buttons. Let's delete them now:

  1. Select our Options | Buttons GameObject.
  2. Delete it by hitting the Delete key on your keyboard.

We can now change our window's title label so that it displays Options:

  1. Select our Options | Title | Label GameObject.
  2. Change the Text field of UILabel to Options.

Great, we now have an empty Options window. It's time to fill it up with widgets!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.213.212