I want to enable/disable "Analog Glitch Volume" and "Digital Glitch Volume" and modify their values (intensity, horizontal shake etc) via script. See screenshot below. I can't figure out how to get access to them. But beyond this specific case I'd like to learn how to get access to all values. Is there a trick? I THINK I need to use
[SerializeField] VolumeProfile volumeProfile;
I'm not sure if "Analog Glitch Volume" is a components. I'm not clear how to get their name nor their object variable type? For example I found someone use for depth of field :
DepthOfField dof;
if (volumeProfile.TryGet<DepthOfField>(out dof)) { depthOfFieldValue = dof; }
But I just don't understand how people know the names/variable types to use. If I can't get them from the inspector is there a list all of them available or something. I would appreciate any help.