var receiveShadows : bool
Description
Does this object receive shadows?
renderer.receiveShadows =
false;
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
renderer.receiveShadows =
false;
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
renderer.receiveShadows =
false
See Also: castShadows