- Home /
Turn On Fog In Script?
Hello i have a horror game that has a room where it is very foggy. In the end of the level you exit the building and go outside. Is there anyway to turn off fog in a script? Something like this?
RenderSettings.Fog = false;
Thanks! (JavaScript)
Comment
Best Answer
Answer by bogartrye · Jun 17, 2015 at 06:45 PM
I think you answered your own question... it's RenderSettings.fog = true; or RenderSettings.fog = false;
Your answer
![](https://koobas.hobune.stream/wayback/20220613201112im_/https://answers.unity.com/themes/thub/images/avi.jpg)