Book Image

Building Levels in Unity

By : Volodymyr Gerasimov
Book Image

Building Levels in Unity

By: Volodymyr Gerasimov

Overview of this book

Table of Contents (17 chapters)
Building Levels in Unity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
4
Dealing with Basic Animations
Index

Learning to use the Unity Tree editor


The Tree editor is a native Unity feature that enables the creation of any kind of tree as long as they have branches and something growing on them (usually leaves).

Before we start working with the Tree editor, make sure that you have the Environment package imported from Assets | Import Package | Environment. We will require some assets from it. We can create our first tree to work with from GameObject | 3D Object | Tree.

After selecting the tree and looking in the Inspector window, you will see a GameObject with a Tree component attached to it. This is where all the tools related to tree creation nest.

The tree creation feature is quite complex and contains a large amount of sliders, graphs, and parameters that will help you to adjust the tree to your liking. However, in this book, we will skip most of it and focus on the bare minimum of what you need to know in order to create your own tree in Unity.

The tree consists of three major components: a base...