mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Reset intensity and tint
This commit is contained in:
parent
6ade2171cf
commit
56dd69fdb6
@ -190,6 +190,12 @@ namespace NewHorizons.Components
|
||||
else
|
||||
{
|
||||
if (_shockLayer != null) _shockLayer.enabled = false;
|
||||
|
||||
if (_ambientLight != null) _ambientLight.intensity = _ambientLightOrigIntensity;
|
||||
|
||||
if (_fog != null) _fog.fogTint = _fogOrigTint;
|
||||
|
||||
if (_fogImpostor != null) _fogImpostor.material.SetColor(s_propID_Tint, _fogOrigTint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -50,6 +50,7 @@ namespace NewHorizons.Components
|
||||
gravityVolume._upperSurfaceRadius = _surfaceSize;
|
||||
gravityVolume._surfaceAcceleration = _surfaceGravity;
|
||||
}
|
||||
|
||||
var referenceFrameVolume = this.GetAttachedOWRigidbody()._attachedRFVolume;
|
||||
if (referenceFrameVolume != null)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user