The color of the fog.
// Set the fog color to be blue
RenderSettings.fogColor = Color.blue;
// And enable fog
RenderSettings.fog = true;
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { RenderSettings.fogColor = Color.blue; RenderSettings.fog = true; } }