Version: 2020.3
public static FogMode fogMode ;

描述

要使用的雾模式。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { // Use linear fog RenderSettings.fogMode = FogMode.Linear; } }

另请参阅:RenderSettings.fog