- Home /
On Trigger Enter Change Fog
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!
Comment
Best Answer
Answer by MakeCodeNow · Feb 14, 2014 at 02:44 AM
It's in the static RenderSettings class.