These multiple levels of parent-child relationships form a Transform hierarchy. Any object can have multiple children, but only one parent. So your hands could be regarded as “children” of your arms and then each hand has several fingers, etc. Child objects can also have children of their own and so on. You can think of parenting as being like the relationship between your arms and your body whenever your body moves, your arms also move along with it. More info See in Glossary of another GameObject, the Child GameObject will move, rotate, and scale exactly as its Parent does. When a GameObject is a Parent of another GameObject, the Child GameObject will move, rotate, and scale exactly as its Parent does. When a GameObject is a Parent An object that contains child objects in a hierarchy. Parenting is one of the most important concepts to understand when using Unity. The three small coloured squares around the center of the Translate gizmo activate the lock for each plane the colors correspond to the axis that will be locked when the square is clicked (eg, blue locks the Z axis). There is also an additional option in Translate mode to lock movement to a particular plane (ie, allow dragging in two of the axes while keeping the third unchanged). A Transform showing the selected (yellow) X axis When you release the mouse button, the axis remains selected. As you drag the mouse, you will see the object translate, rotate, or scale along the selected axis. When you click and drag on one of the three gizmo axes, you will notice that its color changes to yellow. The appearance of the gizmo depends on which tool is selected. More info See in Glossary appear within it.
Some Gizmos are only drawn when the GameObject is selected, while other Gizmos are drawn by the Editor regardless of which GameObjects are selected. Built-in scene tools such as the move tool are Gizmos, and you can create custom Gizmos using textures or scripting.
When you click on an object, you will see the tool gizmo A graphic overlay associated with a GameObject in a Scene, and displayed in the Scene View. The tools can be used on any object in the scene. The View, Translate, Rotate, and Scale tools These tools are located in the upper left-hand corner of the Unity Editor. In the scene, you can modify Transforms using the Move, Rotate and Scale tools. More info See in Glossary or by changing its properties in the Inspector A Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. A transform showing the color-coding of the axesĪ Transform can be edited in the Scene View An interactive view into the world you are creating. In Unity, these axes are represented by the colors red, green, and blue respectively. Transforms are manipulated in 3D space in the X, Y, and Z axes or in 2D space in just X and Y. If the Transform has no parent, the properties are measured in world space. The position, rotation and scale values of a Transform are measured relative to the Transform’s parent. Value “1” is the original size (size at which the object was imported). Scale of the Transform along X, Y, and Z axes. Rotation of the Transform around the X, Y, and Z axes, measured in degrees. Position of the Transform in X, Y, and Z coordinates. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. Think of each unique Scene file as a unique level.
The Transform component determines the Position, Rotation, and Scale of each object in the scene A Scene contains the environments and menus of your game. A GameObject will always have a Transform component attached - it is not possible to remove a Transform or to create a GameObject without one.
More info See in Glossary’s position, rotation, scale and parenting state and is thus very important. A GameObject’s functionality is defined by the Components attached to it. The Transform is used to store a GameObject The fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more.