- Home /
Question by
BeastDevBoi · Nov 24, 2020 at 08:28 PM ·
post processingpost-process-effectpostprocess
Changing 2D URP PostProcessing values Real-Time?
Here's a very specific one: I am trying to get the screen to desaturate and go out of focus when a certain action happens. We are talking about a 2D project that uses URP, and for Post-Processing I use a Volume, of course. However, when I try to assign it in my script that contains the action I want, it says that "Volume" does not exist. This is what I'm using: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Rendering.Universal; public class DialogHandler : MonoBehaviour { public Volume vol //This is what it says it can't find }
So, am I supposed to assign something else, or? It's really bugging me out. Thanks!
Comment