2-7 units and coordinate systems

Per unit movement and zoom

It is generally proportional to the position or obtained by real-valued, and therefore when moving a tool or game object scale, in most cases can not be exactly a certain value,

At this point in Windows, hold down the Ctri key (Mac system, hold down the Command key) while moving or zooming game objects, moving is to be captured per 1 unit, scaling is 0.1 per unit is captured

 

unity coordinate system

unity having four coordinates

The world coordinate system

Scene absolute coordinate in 3D space, in this coordinate system, the game is not affected by the object hierarchical structure but rather a scene from the original coordinates to represent

Screen coordinates

In the lower left corner as the origin of the coordinate system, where a unit pixel with respect to 1

Viewport coordinate system

Converting the coordinate screen coordinates of 0.0-1.0 standard coordinate system

Local coordinate system

Game objects at the origin of the parent standard relative coordinate system, the coordinate position of the anchor point as a standard, the display panel Inspector Rect Transform Transform assembly and assembly of this coordinate system is the coordinate

 

Guess you like

Origin www.cnblogs.com/bimg1999/p/12594681.html