mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
added support for fogTint inside bramble dimensions
This commit is contained in:
parent
8c9c6d3e31
commit
060d7a0fb0
@ -82,6 +82,15 @@ namespace NewHorizons.Builder.Body
|
||||
|
||||
PairExit(config.linksTo, outerFogWarpVolume);
|
||||
|
||||
// change fog color
|
||||
if (body.Config.Bramble.dimension.fogTint != null)
|
||||
{
|
||||
var fogGO = SearchUtilities.FindChild(atmo, "FogSphere_Hub");
|
||||
var fog = fogGO.GetComponent<PlanetaryFogController>();
|
||||
fog.fogTint = body.Config.Bramble.dimension.fogTint.ToColor();
|
||||
}
|
||||
|
||||
|
||||
return dimension;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user