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

Projectors


Unity has no shortage of interesting components that can be used in creative ways to produce interesting and very useful results. The one in question here is called the projector.

The projector is used to project material onto the object to create interesting effects such as decals, cinema screen projection, or even shadows. The latter is well known for being hyped by developers and very useful whenever you're in need of a cheap dynamic shadow effect. We will take a closer look at the component itself and showcase some interesting uses of it.

Basic application

Being a normal component, Projector can be attached to the GameObject by going to: Add Component | Effects | Projector in the Inspector window or Component | Effects | Projector from the top menu.

Create an empty GameObject and add the Projector component to it.

Using the projector becomes very intuitive if you treat it as a real projector that can project an image from a source to a surface. However, there are few noticeable...