Does this object cast shadows?
// make the object not cast shadows
renderer.castShadows = false;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
renderer.castShadows = false;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
renderer.castShadows = false