unity fog code example
Example: Change fog setting Unity
// Setup Fog
Color newColor;
RenderSettings.fog = true;
RenderSettings.fogColor = newColor;
// Setup Fog
Color newColor;
RenderSettings.fog = true;
RenderSettings.fogColor = newColor;