📅  最后修改于: 2022-03-11 14:49:14.686000             🧑  作者: Mango
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
var volume = target.GetComponent();
if (volume.profile.TryGet(out var bloom))
{
bloom.intensity.overrideState = true;
bloom.intensity.value = 2f;
}