Search Unity

Why is Global Fog (from StandardAssets) private?

Discussion in 'Image Effects' started by Dreamback, Feb 6, 2018.

  1. Dreamback

    Dreamback

    Joined:
    Jul 29, 2016
    Posts:
    220
    I want to enable/disable Global Fog from my camera when needed, but for some reason the class is marked as private so even .enable isn't accessible. Sure it's easy enough to make the class Public, but is there a reason Unity made this decision? Is it somehow bad to enable/disable it in real time?