Force the Light to be a pixel light.
// Force the light to be pixel-lit light.renderMode = LightRenderMode.ForcePixel;
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { light.renderMode = LightRenderMode.ForcePixel; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: light.renderMode = LightRenderMode.ForcePixel