LightRenderMode.AutoLightRenderMode.AutoDescriptionAutomatically choose the render mode. This chooses whether to render the Light as a pixel or vertex light (recommended and default). See Also: light component.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { light.renderMode = LightRenderMode.Auto; } } import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): light.renderMode = LightRenderMode.Auto |
