system
1
Hi all! I’m trying to make a script where when the Player enters a trigger, the fog switches off in the render settings. I’m not asking for a script, but can anyone tell me the line of code necessary to get the component fog from the render settings (preferably in javascript)? Or can anyone link any script references explaining this? Thanks!
It’s in the static RenderSettings class.