Merge cut contact-hud (Soul verdicts cut-contact-hud.s1, .s2)
This commit is contained in:
commit
16466b148a
11 changed files with 156 additions and 58 deletions
|
|
@ -603,8 +603,7 @@ public class ZoneRenderer : MonoBehaviour
|
|||
var distance = length(difference);
|
||||
|
||||
entityInstance.CompassIcon.gameObject.SetActive(
|
||||
PerspectiveEntity.EntityInfoGathered.ContainsKey(entityInstance.Entity) &&
|
||||
PerspectiveEntity.EntityInfoGathered[entityInstance.Entity] > Settings.GameplaySettings.TargetDetectionInfoThreshold &&
|
||||
PerspectiveEntity.ContactOf(entityInstance.Entity).Tracked &&
|
||||
distance > _minimapDistance);
|
||||
entityInstance.CompassIcon.transform.rotation = Quaternion.Euler(0, 0, Mathf.Atan2(difference.y, difference.x) * Mathf.Rad2Deg - 90);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue