The light is a point light.
See Also: Light.type, light component.
// Make the light a point light
light.type = LightType.Point;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
light.type = LightType.Point;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
light.type = LightType.Point