Keep Unity state surface compile fixes
This commit is contained in:
parent
9948d5eeca
commit
6dba17d86c
10 changed files with 53 additions and 11 deletions
|
|
@ -53,10 +53,10 @@ public sealed class AetheriaUnityPilotFrameAdapter
|
|||
if (renderSettings != null)
|
||||
{
|
||||
if (HeatstrokePost != null)
|
||||
HeatstrokePost.weight = (float)renderSettings.NormalizeHeatstrokePost(currentEntity.Heatstroke);
|
||||
HeatstrokePost.weight = (float)renderSettings.Value.NormalizeHeatstrokePost(currentEntity.Heatstroke);
|
||||
if (SevereHeatstrokePost != null)
|
||||
SevereHeatstrokePost.weight =
|
||||
(float)renderSettings.ResolveSevereHeatstrokePostWeight(currentEntity.Heatstroke, timeSeconds);
|
||||
(float)renderSettings.Value.ResolveSevereHeatstrokePostWeight(currentEntity.Heatstroke, timeSeconds);
|
||||
}
|
||||
|
||||
if (currentEntity is Ship)
|
||||
|
|
|
|||
Loading…
Reference in a new issue