[The Road to Getting Started with Unity (1)]

1.Basic operations of Unity

F , place in the center of the field of view
ctrl+D , copy
alt+LMB (left mouse button), rotate the view
MMB (middle mouse button), pan the view

2. Basic components

2.1 Mesh

Determines the shape of the object. Any object is composed of various faces (including spheres)

Material

Define surface material, color, smooth, metal... Material under
Mesh Renderer component

Texture

Textures are completed by the modeler during modeling

Camera component

Responsible for shooting the game screen and presenting the method of synchronizing the 3D view with the shooting angle in the Game window
:
Select the Main camera node and execute GameObject>Align with view

Script

To control the game logic, you need to mount it on the node.
Note:
The C# file name must be consistent with the class name, otherwise it cannot be mounted.

3.Coordinates

Global

World coordinate system, 6 directions represent up, down, east, west, north and south

Local

Local coordinate system (defined during modeling), the 6 directions represent up, down, front, left, and right

Pivot and Center

Pivot axis (specified during modeling)
Center geometric center (Unity calculation)
Generally speaking, the axis and the geometric center are not the same point.

Guess you like

Origin blog.csdn.net/weixin_44338714/article/details/128884234