Renderer.receiveShadows
var receiveShadows: bool;
bool receiveShadows;
receiveShadows as bool
Description

Does this object receive shadows?

	// make the object not receive shadows

renderer.receiveShadows = false;
using UnityEngine;
using System.Collections;

public class Example : MonoBehaviour {
    void Example() {
        renderer.receiveShadows = false;
    }
}
import UnityEngine
import System.Collections

public class Example(MonoBehaviour):

	def Example() as void:
		renderer.receiveShadows = false

See Also: castShadows.