How do I call the Global Fog script from StandardAssets/Effects/ImageEffects?

Hi.

Is there a way to call the Global Fog script from UnityStandardAssets to be accessible in my DayNight script?
I’m trying to get the nights to appear darker at nighttime and then disable it again when it’s daytime.

Fog can be toggled using RenderSettings.fog. It is a boolean.