Corgi Engine v9.4
Loading...
Searching...
No Matches
MoreMountains.Tools.MMChangeFogColor Class Reference

Adds this class to a UnityStandardAssets.ImageEffects.GlobalFog to change its color Why this is not native, I don't know. More...

Inheritance diagram for MoreMountains.Tools.MMChangeFogColor:

Public Attributes

Color FogColor
 Adds this class to a UnityStandardAssets.ImageEffects.GlobalFog to change its color.

Protected Member Functions

virtual void SetupFogColor ()
 Sets the fog's color to the one set in the inspector.
virtual void Start ()
 On Start(), we set the fog's color.
virtual void OnValidate ()
 Whenever there's a change in the camera's inspector, we change the fog's color.

Detailed Description

Adds this class to a UnityStandardAssets.ImageEffects.GlobalFog to change its color Why this is not native, I don't know.

Member Function Documentation

◆ OnValidate()

virtual void MoreMountains.Tools.MMChangeFogColor.OnValidate ( )
protectedvirtual

Whenever there's a change in the camera's inspector, we change the fog's color.

◆ SetupFogColor()

virtual void MoreMountains.Tools.MMChangeFogColor.SetupFogColor ( )
protectedvirtual

Sets the fog's color to the one set in the inspector.

◆ Start()

virtual void MoreMountains.Tools.MMChangeFogColor.Start ( )
protectedvirtual

On Start(), we set the fog's color.

Member Data Documentation

◆ FogColor

Color MoreMountains.Tools.MMChangeFogColor.FogColor

Adds this class to a UnityStandardAssets.ImageEffects.GlobalFog to change its color.


The documentation for this class was generated from the following file:
  • Assets/CorgiEngine/ThirdParty/MoreMountains/MMTools/Accessories/MMParticles/MMChangeFogColor.cs