Fog Control with Smooth Transition option. Made for Unity Built-in Lighting>Fog
Use this if you want to control the Unity Built-in Fog system to control in Runtime.
How-To:
- Create an empty object
- Assign this script to the object
- Enter the desired values, tick shouldSmooth if you want smooth transition.
- Call EnableFog()/DisableFog() methods inside an event
- Enjoy the transition!