Light.typevar type : LightTypeDescriptionThe type of the light. Can be LightType.Spot, LightType.Directional, LightType.Point.
JavaScript
// Make the light a spot light using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > Light | Switch to Component | |||
Light.typevar type : LightTypeDescriptionThe type of the light. Can be LightType.Spot, LightType.Directional, LightType.Point.
JavaScript
// Make the light a spot light using UnityEngine; import UnityEngine |