Horje
how to edit postprocessing through script Code Example
how to edit postprocessing through script
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
 
var volume = target.GetComponent<Volume>();

if (volume.profile.TryGet<Bloom>(out var bloom))
{
    bloom.intensity.overrideState = true;
    bloom.intensity.value = 2f;
}




Csharp

Related
c# check if type implements interface Code Example c# check if type implements interface Code Example
how to change the color of your text in c# Code Example how to change the color of your text in c# Code Example
ksi Code Example ksi Code Example
unity reset rigidbody velocity Code Example unity reset rigidbody velocity Code Example
c# linq extension methods left join Code Example c# linq extension methods left join Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12