Pivots

Pivots are markers that note where we want things to be in relation to our object. This means that objects will be moved, rotated, and/or scaled via this position. To note how this changes the way things react, try changing the Rotation Z property with a Pivot Y of 0, 0.5, and 1, and note the differences in how things are rotated.

Note that it is possible to set the Pivot, Position, and Anchors of an object via the Anchors Preset menu I mentioned previously if you hold down the Alt + Shift keys while clicking it. This way, all of the steps we discussed will happen all at once, but it's a good idea to get a foundation on what everything means before jumping straight into using the shortcuts.
  1. Now that we have our object positioned correctly, ...

Get Unity 2017 Mobile Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.