Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more..
    Dismiss Notice
  3. Dismiss Notice

turning post-processing on and off with script

Discussion in 'Scripting' started by swampmonster, Oct 23, 2020.

  1. swampmonster

    swampmonster

    Joined:
    Apr 14, 2020
    Posts:
    7
    using URP, is there a way to turn postprocessing on and off? so far i havent found anything about it in the scripting api or online.
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,723
    What happens if you enable/disable the Volume?
     
  3. swampmonster

    swampmonster

    Joined:
    Apr 14, 2020
    Posts:
    7
    volumeObj.GetComponent<Volume>().enabled works
    thanks @PraetorBlue