Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Disable an Effect with Post Processing V2?

Discussion in 'Editor & General Support' started by SeanGause, Jan 15, 2019.

  1. SeanGause

    SeanGause

    Joined:
    Dec 24, 2015
    Posts:
    127
    I downloaded the post processing stack v2. I cannot for the life of me figure out how to disable a single effect on the post processing volume that I created (by script). Here's what I'm looking for:
    Code (CSharp):
    1. if (player presses a button)
    2. {
    3. ColorGrading.enabled = false;
    4. }
    or something similar. I got it to work with the last stack but I can't figure it out with this one.