Heatstroke VFX
Filling the heatstroke meter now results in a postprocessing filter which increasingly distorts the player's view as they get closer to death.
This commit is contained in:
parent
8920b48977
commit
2f088b5590
11 changed files with 183 additions and 26 deletions
|
|
@ -241,7 +241,7 @@ public class SchematicDisplay : MonoBehaviour
|
|||
|
||||
CockpitTemperatureLabel.text = $"{((int)(_cockpit.Item.Temperature - 273.15f)).ToString()}°C";
|
||||
|
||||
HeatstrokeMeterFill.anchorMax = new Vector2(_cockpit.Heatstroke, 1);
|
||||
HeatstrokeMeterFill.anchorMax = new Vector2(_entity.Heatstroke, 1);
|
||||
HeatstrokeLimitFill.anchorMax = new Vector2(_cockpit.Item.Temperature / Settings.GameplaySettings.HeatstrokeTemperature, 1);
|
||||
|
||||
if (_capacitors.Length == 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue