Search Unity

ReflectionProbeUsage

Discussion in 'Scripting' started by twiesner, Mar 31, 2015.

  1. twiesner

    twiesner

    Joined:
    Oct 4, 2011
    Posts:
    309
    I have a bug caused by the reflection probes setting listed under the meshrender of my scene objects. I wish to turn this setting off on each object in my scene but can't figure out the proper usage to do so to create a batch script. Does anyone know the proper usage of the reflectionProbeUsage (http://docs.unity3d.com/ScriptReference/Renderer-reflectionProbeUsage.html) to get it to change from its current state to off?
     
  2. twiesner

    twiesner

    Joined:
    Oct 4, 2011
    Posts:
    309
    Nevermind. Made a batch select script instead.