Component.light

var light : Light

Description

The Light attached to this GameObject (null if there is none attached).

JavaScript
light.range = 10;