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

Creating a waterfall


In this section, we will challenge ourselves to create a particle system for our level, namely a waterfall, nothing crazy, but something that we will be able to create without any code support, relying only on texture work and a built-in particle system.

Setting up assets

Let's begin with setting up the assets that will be required for a creation of this particle effect and taking a closer look at them:

  1. Create a Particle System in the scene by navigating to GameObject | Particle System.

  2. Go to Chapter 9 | Waterfall to locate a material and a prefab by the name Waterfall.

  3. Assign a created particle system to the Waterfall prefab.

That is literally everything we need to create in order to start working on the Particle System. This is how your Waterfall folder should look at this point:

The WaterfallTexture image is going to be used for our first iteration of the waterfall. It's a very simple grayscale image 128 x 128 (using low resolution square textures for particles is highly...