FogAnimator
A class in Root.Township, the global namespace.
Drives the scene's fog density, fog colour and skybox fade from its own fields every frame, and restores the originals when disabled. Works in edit mode.
- Listed in Global namespace: E to H
- Inherits or implements
MonoBehaviour - Attributes
ExecuteInEditMode
Constructors
| Member | What it is |
|---|---|
FogAnimator() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
| Member | What it is |
|---|---|
Color fogColor | Fog colour to apply. |
float fogDensity | Fog density to apply. |
float skyBoxFade | Value written to the skybox _Fade. |