Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

LightType

enumeration

Description

The type of a Light.

See Also: Light.type, light component.

Variables

SpotThe light is a spot light.
DirectionalThe light is a directional light.
PointThe light is a point light.
AreaThe light is an area light. It affects only lightmaps and lightprobes.

Did you find this page useful? Please give it a rating: