O'Reilly logo

Mastering Unity 2D Game Development by Simon Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building the scene

So, now that we have some nice assets to build with, we can start building our first town.

Adding the town background

Returning to the scene view, you should see the following:

Adding the town background

If, however, we add our town background texture (Assets\Sprites\Backgrounds\Background.png) to the scene by dragging it to either the project hierarchy or the scene view, you will end up with the following:

Adding the town background

Note

Be sure to set the background texture position appropriately once you add it to the scene; in this case, be sure the position of the transform is centered ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required