Keep Unity state surface compile fixes

This commit is contained in:
Meta Vens 2026-06-27 13:36:40 +01:00
commit 6dba17d86c
10 changed files with 53 additions and 11 deletions

View file

@ -66,7 +66,7 @@ public sealed class AetheriaUnityTargetPresentation
{
var contacts = ResolveVisibleContacts?.Invoke(
currentEntity,
renderSettings.TargetDetectionInfoThreshold,
renderSettings.Value.TargetDetectionInfoThreshold,
true) ?? Array.Empty<AetheriaRuntimeZoneContactRow>();
foreach (var contact in contacts)
@ -168,9 +168,9 @@ public sealed class AetheriaUnityTargetPresentation
}
var infoGathered = ResolveInfoGathered?.Invoke(indicator.Key, currentEntity) ?? 0f;
indicator.Value.Fill.fillAmount = (float)renderSettings.NormalizeDetectionProgress(infoGathered);
indicator.Value.Fill.fillAmount = (float)renderSettings.Value.NormalizeDetectionProgress(infoGathered);
indicator.Value.Fill.enabled = !blinkSpottedTargets ||
renderSettings.ResolveTargetSpottedFillEnabled(infoGathered, time);
renderSettings.Value.ResolveTargetSpottedFillEnabled(infoGathered, time);
}
}