Version: 2022.3
public static float flareStrength ;

描述

场景中所有光晕的强度。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { RenderSettings.flareStrength = 0.2f; } }

另请参阅:LensFlare component