RenderSettings.fogColor Manual     Reference     Scripting  
Scripting > Runtime Classes > RenderSettings
RenderSettings.fogColor

static var fogColor : Color

Description

The color of the fog.

// Set the fog color to be blue
RenderSettings.fogColor = Color.blue;
// And enable fog
RenderSettings.fog = true;

See Also: Render Settings manager