Game Development Reference
In-Depth Information
Step 3. After starting Unity, create a new project by selecting File >
New Project. Note the project name and directory used to save the
project are one and the same; by default, this is “New Unity Project.”
Step 4. To create a simple scene, select GameObject > Create
Other > Cube from the main menu. All objects added to a game
scene are called GameObjects in Unity. A cube will appear in
the Hierarchy, Scene, Game, and Inspector windows.
Note
From this point in the text, these windows will be referenced just by their
capitalized names.
Step 5. If the cube appears very small, place your mouse in the Scene
and use the scroll wheel to zoom in. Note that your viewing position
and angle in the Scene do not affect the look of the final game or
change the attributes of any game objects. This initial Scene is shown
in Figure 1.20 . The Inspector shows all the properties of the cube. This
includes its position, rotation, scale, the 3D mesh representing it, and
a physics collider. We will look at these properties in more detail later.
Fig 1.20 A single cube in a scene.
Step 6. At this time, press the play button. As you have not added
any functionality at this stage when running, all the game will do is
display a static cube.
Search Nedrilad ::




Custom Search