|
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
class example(MonoBehaviour):
def Example():
renderer.receiveShadows = false