Referencing / Identifying Namespaces for Use in Scripts

Having a devil of a time finding the answer to this, all the answers seem to go to “how to add a namespace to the top of your script,” when I’m really looking for “How do I identify WHICH namespace I NEED to add to the top of my script?”

Here’s my Example (Unity 2019.3 - Universal Render Pipeline):
I have a volume which changes some visual effects - See two helpful, general information tutorials:

  1. POST PROCESSING in Universal RP with Unity 2020! (Tutorial) - YouTube
  2. HDRP Post Processing Volumes in Unity - YouTube

What I’d like to do is create only one volume for these effects (sort of moving-through-warps-in-space-time-effects) and then just use a script to adjust the Weight attribute of the Volume. I would set it at 1 when I need it to be visible, and 0 when I don’t, and maybe I can Lerp between those values.

So I know that this weight attribute should be defined in a C# script, and that I could put something like using UnityEngine.Rendering.PostProcess.Volume up at the top of my script, then set up a variable like:
private Volume theVolumeIWantToAdjust;
Then I could do:
theVolumeIWantToAdjust.Weight = 0.5;

Shouldn’t I be able to go to Unity Docs and see that UnityEngine has a class within it named Rendering, which has a class within it named PostProcess, which has something within it named Volume, which does all this list of things, so you reference each of those things like…whatever?

Am I just looking in the wrong places?

That feeling when you ask a question and get 14 hours of silence. Must be a stupid question, LOL.

VS Code – a great editor – has the capability to auto-add missing Using references for you via this addition.

Ok, thanks for that information! I have it installed, and will play around with it to see what it can do.