Search Unity

Programmatically degrade a scene to better support multiple platforms

Discussion in 'Scripting' started by shamunity, Oct 9, 2015.

  1. shamunity

    shamunity

    Joined:
    Sep 18, 2015
    Posts:
    22
    Hi,

    Is it possible (or recommended!) to programmatically degrade a scene , for example:

    Code (CSharp):
    1. if (platform == Ios)
    2.     - use shader xyx
    3.     - change main camera culling
    4.     - etc

    Thank you!
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Seemed to work for these guys.

     
  3. shamunity

    shamunity

    Joined:
    Sep 18, 2015
    Posts:
    22
    FYI to those interested, the TL;DW is that yes, that's exactly how you'd do it.