|
Do not cast shadows (default).
See Also: light component.
// Set light to not cast shadows.
light.shadows = LightShadows.None;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
light.shadows = LightShadows.None;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
light.shadows = LightShadows.None