Force the Light to be a vertex light.
// Set light's render mode to vertex-lit light.renderMode = LightRenderMode.ForceVertex;
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { light.renderMode = LightRenderMode.ForceVertex; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: light.renderMode = LightRenderMode.ForceVertex