The size of the area light. Editor only.
See Also: Light component.
light.areaSize = Vector2(5, 2);
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { light.areaSize = new Vector2(5, 2); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: light.areaSize = Vector2(5, 2)