Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Unity Game Development Blueprints
  • Toc
  • feedback
Unity Game Development Blueprints

Unity Game Development Blueprints

By : John P. Doran
4 (6)
close
Unity Game Development Blueprints

Unity Game Development Blueprints

4 (6)
By: John P. Doran

Overview of this book

If you want to build enticing projects with Unity, this book is for you. Readers who are familiar with the basics of how to create simple projects in Unity will have an easier time.
Table of Contents (11 chapters)
close
10
Index

Placing tiles with grid snapping


Now that we have all of our tiles created, let's start building out our area:

  1. Put a tile prefab in the world of your choice. Hold down the Ctrl key, and pull it in an axis' direction. You may have noticed a little snap that you wouldn't see when moving normally. This is due to unit snapping.

    Grid snapping is a really useful tool when it comes to building stuff inside Unity. Instead of punching in numbers all the time when trying to set the positions of all of these tiles, we can just set our Snap size to be the size of our tiles 3.2 x 3.2 x 3.2.

    Note

    In addition to movement, we can also snap rotations and scaling.

  2. Go to Edit | Snap Settings; we can change the value to snap easily by changing Move of X to 3.2 and Move of Z to 3.561, taking into account the wall's thickness.

  3. Now that we have the snap settings working correctly, we will place a hallway to start our level and reset its Position property to (0, 0, 0).

  4. Next, duplicate the mesh by hitting Ctrl + D, and...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete