Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Building Levels in Unity
  • Table Of Contents Toc
Building Levels in Unity

Building Levels in Unity

By : Volodymyr Gerasimov
5 (2)
close
close
Building Levels in Unity

Building Levels in Unity

5 (2)
By: Volodymyr Gerasimov

Overview of this book

The book is aimed at game artists with no past programming experience who are interested in designing levels in Unity. It does not assume detailed knowledge of similar game platforms.
Table of Contents (12 chapters)
close
close
4
4. Dealing with Basic Animations
11
Index

Object parenting


You can group objects by parenting them to other GameObjects, empty or not. In Unity, it can be done by dragging and dropping the GameObjects on top of each other in the Project or Hierarchy window.

There is one thing to be aware of: it is important to understand that the transformation of the child is no longer relative to the global space, but to its parent object. So whenever the parent object moves, it will move all its children with it. This is also the case for scale and rotation.

Parenting and prefabs

When it comes to prefabs, parenting is quite simple: You freely modify and add any children to the parent object in the Hierarchy view and then hit Apply for them to be saved to the prefab. However, unparenting a child from a GameObject will cause the parent object to lose connection to the prefab.

Note

If you need to use unparenting you will have to lose connection to the prefab for that object, unparent, and then drag and drop it back onto the prefab. That will commit changes...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Building Levels in Unity
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon