#hi guys i am doing a day and night

1 messages · Page 1 of 1 (latest)

copper crescent
#

What do you mean with "how to call it"?
You have the reference in your script, you should be able to change the volume blending weight, etc from script, but changing a PostProcessingEffect you add to the volume is another process

sturdy merlin
#

i want to play with the volume on runtime so i am trying to reference it in my code but seems like i cant, i type public Volume blabla but that Volume thing is not working

copper crescent
#
public Volume MyVolume;
private void Start() {
  MyVolume.weight = 1f;
}

That doesn't work?

#

(Keep in mind you need to reference the Volume namespace with the using keyword)

sturdy merlin
#

so i dont have a UnityEngine.Rendering

#

thanks for take time to explain