Changing the layout

Now that we've looked at the main windows and know how they function, the first thing we are going to do is change the disposition of these windows on the screen so that they fit our project's needs. For this book, we are going to use a modified version of the 2 by 3 layout, which will allow us to see the AR scene and game at the same time. However, once you are comfortable using Unity, feel free to select the layout that suits you the most.

For the modified version, follow these steps:

  1. First, select the 2 by 3 layout on the top right drop-down menu of the Toolbar, just above the Inspector window:
Selecting 2 by 3 on the Layout drop-down menu
  1. Then, drag the Project window so that it's below the Hierarchy window:
Dragging the Project window so that it's below the Hierarchy window
  1. Select the list view on the Project window by dragging the bottom scrollbar all the way to the left:
Moving the horizontal scrollbar to the left
  1. Create a new aspect ratio of the Game view called 1280 x 720 and insert the following values: Width: 1280, Height: 720:
Creating a new Aspect Ratio
  1. Open the Console window, press Ctrl + Shift + C or Window|General|Console and drag it so that it's a tab beside the Game view:
Dragging the Console window next to the Game view
  1. Finally, to ensure this layout is available every time you open Unity, go to Layouts, select Save Layout..., and give it a name:
 
Saving the created layout

Now, we have our layout ready so that it can be used in our AR projects. By now, you should be acquainted with the different windows and tools Unity offers and how they work. In the next section, we will take a look at the main elements we can find in a Unity project.

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

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