Adding a cube

Let's now add an object to the scene: a unit-sized cube:

  1. Within the Hierarchy panel, use the Create menu and choose 3D Object | Cube. (The same selection can also be found in the Main Menu bar GameObject dropdown).

A default white cube is added to the scene, centered on the ground plane at position (0, 0, 0), with no rotation and a scale of one, as you can see in the Inspector panel. This is an object's reset transform setting.

The Reset Transform values are position (0, 0, 0), rotation (0, 0, 0), and scale (1, 1, 1).
  1. If for some reason your cube has other transform values, you can set new values in the Inspector panel, or locate the small gear icon in the upper-right of the Inspector Transform component. Click it and select ...

Get Augmented Reality for Developers 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.