O'Reilly logo

Unity 3D Game Development by Example by Ryan Henson Creighton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - add a light

Let's add one of these virtual lights to our Scene so that we can see our objects a bit better.

  1. In the menu, click on GameObject | Create Other. The three types of lights that Unity supports are listed there: point light, spotlight, and directional light.
  2. Choose Directional Light.

A new directional light is added to the Scene. The icon looks like a little yellow sun. When the light is selected (as it is now), a tube of yellow rays shoots out from it. That tube shows us which way the light is pointing.

Time for action - add a light

Make sure that Scene lighting is turned on by clicking on the little sunshine-looking icon at the top of your Scene ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required