Versions with this page:
Versions without this page:
Используемый режим тумана.
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { // Use linear fog RenderSettings.fogMode = FogMode.Linear; } }
See Also: RenderSettings.fog.