mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Better supernova scale
This commit is contained in:
parent
c66f4a470e
commit
4538a9e53c
@ -288,7 +288,7 @@ namespace NewHorizons.Builder.Body
|
||||
|
||||
var supernova = supernovaGO.GetComponent<SupernovaEffectController>();
|
||||
supernova._surface = starGO.GetComponentInChildren<TessellatedSphereRenderer>();
|
||||
supernova._supernovaScale = AnimationCurve.Linear(5, 0, 15, starModule.supernovaSize);
|
||||
supernova._supernovaScale = new AnimationCurve(new Keyframe(0, 200, 0, 0, 1f / 3f, 1f / 3f), new Keyframe(45, starModule.supernovaSize, 1758.508f, 1758.508f, 1f / 3f, 1f / 3f));
|
||||
supernova._supernovaVolume = null;
|
||||
|
||||
if (starModule.supernovaTint != null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user