mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Make this use custom as well
This commit is contained in:
parent
4391d62eda
commit
271c49e282
@ -164,7 +164,7 @@ namespace NewHorizons.Builder.Body
|
||||
controller.normalRamp = !string.IsNullOrEmpty(starModule.starRampTexture) ? ImageUtilities.GetTexture(mod, starModule.starRampTexture) : ramp;
|
||||
controller._heatVolume = heatVolume.GetComponent<HeatHazardVolume>();
|
||||
controller._destructionVolume = deathVolume.GetComponent<DestructionVolume>();
|
||||
controller._planetDestructionVolume = planetDestructionVolume.GetComponent<DestructionVolume>();
|
||||
controller._planetDestructionVolume = planetDestructionVolume.GetComponent<StarDestructionVolume>();
|
||||
controller._starFluidVolume = starFluidVolume;
|
||||
starFluidVolume.SetStarEvolutionController(controller);
|
||||
if (!string.IsNullOrEmpty(starModule.starCollapseRampTexture))
|
||||
|
||||
@ -31,7 +31,7 @@ namespace NewHorizons.Components.SizeControllers
|
||||
private MeshRenderer[] _atmosphereRenderers;
|
||||
public HeatHazardVolume _heatVolume;
|
||||
public DestructionVolume _destructionVolume;
|
||||
public DestructionVolume _planetDestructionVolume;
|
||||
public StarDestructionVolume _planetDestructionVolume;
|
||||
public StarFluidVolume _starFluidVolume;
|
||||
private SolarFlareEmitter _flareEmitter;
|
||||
private MapMarker _mapMarker;
|
||||
@ -131,6 +131,7 @@ namespace NewHorizons.Components.SizeControllers
|
||||
|
||||
if (_heatVolume == null) _heatVolume = GetComponentInChildren<HeatHazardVolume>();
|
||||
if (_destructionVolume == null) _destructionVolume = GetComponentInChildren<DestructionVolume>();
|
||||
if (_planetDestructionVolume == null) _planetDestructionVolume = GetComponentInChildren<StarDestructionVolume>();
|
||||
if (_starFluidVolume == null) _starFluidVolume = GetComponentInChildren<StarFluidVolume>();
|
||||
|
||||
if (atmosphere != null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user