public static bool fog ;

Description

是否启用了雾效?

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { RenderSettings.fog = true; } }

另请参阅:RenderSettings.fogMode。