B1 Intermediate UK 1398 Folder Collection
After playing the video, you can click or select the word to look it up in the dictionary.
Loading...
Report Subtitle Errors
The Hierarchy in Unity is a complete list of any object in your open scene.
Objects are listed from A to Z order,
but it is also possible to create hierarchies of objects
which are in turn listed in A to Z order.
Hierarchies of objects mean that they are grouped, with the top most object being called the Parent Object
and the rest being referred to as Children or Child objects.
These objects then have their transform values based upon that of their parent object.
For example the position of an object when loose in the hierarchy
is based on it's distance from the world origin, or zero point.
But when this object is made a child of another object it's position is relative to that of it's parent.
In this example the character object is at the origin of the 3D scene,
the position (0, 0, 0).
And there is a cube object at position (5, 1, 5).
But when the character object is made a child of the cube - it's origin, or zero point,
is then the position of the parent object, the cube.
Now the character's position is said to be (-5, -1, -5).
This being the distance from the cube object, it's parent and therefore it's origin position.
We can also see that with Pivot Point Rotation enabled
the rotation is now based on the parent object
rather than rotating around it's own axis.
The same then applies to movement,
and scaling.
And this will apply until that object is no longer a child.
Other features of the hierarchy are the Create button
and Search field.
The create button on the hierarchy acts as a mirror of the Game Object - Create Other top menu
and this will allow you to create various different things that you will need to construct your games in Unity.
Whilst the search field works in a similar way to the search field in the Scene view,
allowing you to narrow down objects using their name.
The scene view then reacts by greying out other objects
allowing you to see the object you've searched for more easily.
You can also make use of the modifier T: in order to search for types of object.
Type here being considered as one of the objects components.
For example if I search for T:Light
there is only one light in my current scene,
one on the end of the players gun.
And if I search for T: Audio Source
I'll be narrowed down to 3 objects,
the only ones in the scene that happen to have audio source components attached to them.
When searching in this way, the bottom of the hierarchy shows the path to the object that you've found.
Damage audio source being the one I have selected,
Player being it's parent and Cube being the parent of that object.
This means that when cancelling the search you can easily see where your object is.
It will also remain selected and the parent objects of that object will be expanded to show where it's located.
    You must  Log in  to get the function.
Tip: Click on the article or the word in the subtitle to get translation quickly!

Loading…

The Hierarchy and Parent-child relationships - Unity Official Tutorials

1398 Folder Collection
burst published on September 8, 2015
More Recommended Videos
  1. 1. Search word

    Select word on the caption to look it up in the dictionary!

  2. 2. Repeat single sentence

    Repeat the same sentence to enhance listening ability

  3. 3. Shortcut

    Shortcut!

  4. 4. Close caption

    Close the English caption

  5. 5. Embed

    Embed the video to your blog

  6. 6. Unfold

    Hide right panel

  1. Listening Quiz

    Listening Quiz!

  1. Click to open your notebook

  1. UrbanDictionary 俚語字典整合查詢。一般字典查詢不到你滿意的解譯,不妨使用「俚語字典」,或許會讓你有滿意的答案喔