C# Class EnvironmentManager, TWI_Repo

Inheritance: BaseManager
Mostrar archivo Open project: justcollins/TWI_Repo Class Usage Examples

Public Methods

Method Description
ChangeFog ( float newFogDensity, Color newFogColor ) : void

Private Methods

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

Method Details

ChangeFog() public method

public ChangeFog ( float newFogDensity, Color newFogColor ) : void
newFogDensity float
newFogColor Color
return void