Method | Description | |
---|---|---|
ChangeFog ( float newFogDensity, Color newFogColor ) : void |
Method | Description | |
---|---|---|
Start ( ) : void |
This method controls setting what is the current group and what is the previous group. The previous group was a second thought, as what if we could still see the previous environment meshes, even though we are in a new environment. For this, if the previous group is ever the same as the current group, then you just put in the same environment mesh into your public gameobjects and enter that in.
|
|
Update ( ) : void |
public ChangeFog ( float newFogDensity, Color newFogColor ) : void | ||
newFogDensity | float | |
newFogColor | Color | |
return | void |