Search Unity

What is the serialized variable name for Optimize Realtime UVs ??

Discussion in 'Global Illumination' started by FirstTimeCreator, Mar 8, 2018.

  1. FirstTimeCreator

    FirstTimeCreator

    Joined:
    Sep 28, 2016
    Posts:
    768
    I am writing an editor extension to disable optimize realtime UV's on all renderers on a model because there are alot of components it is too time consuming to do it manually.

    I need to know the var name to disable it:

    so.FindProperty("m_ScaleInLightmap").floatValue = 50;

    I cant find it anywhere!
     
  2. FirstTimeCreator

    FirstTimeCreator

    Joined:
    Sep 28, 2016
    Posts:
    768
  3. FirstTimeCreator

    FirstTimeCreator

    Joined:
    Sep 28, 2016
    Posts:
    768
  4. FirstTimeCreator

    FirstTimeCreator

    Joined:
    Sep 28, 2016
    Posts:
    768
    So annoying. I cant find how to access the Chart Controls, Max distance or Optimize anywhere....