To display an image, follow these steps:
- Create a new Unity 2D project.
- Set the Game window to 400 x 300. Do this by displaying the Game window, and then creating a new Resolution in the drop-down menu at the top of the panel.
- Click the plus (+) symbol at the bottom of this menu, setting Label to Core UI, Width to 400, and Height to 300. Click OK; the Game window should be set to this new resolution:
Figure 1.12 – Adding a new screen Resolution to the Game window
Alternatively, you can set the default Game window's resolution by going to Edit | Project Settings | Player and then the width and height of Resolution and Presentation in the Inspector window (having turned off the Full-Screen option).
- Import the provided Images folder. In the Inspector window, ensure that the unity_logo image has Texture Type set to Default. If it has some other type, then choose Default from the drop...