Shields
Created field bubble shields / propulsion, currently just a prototype with its own test scene
This commit is contained in:
parent
47e500e1ce
commit
c6ffcad3f1
213 changed files with 2145 additions and 1213 deletions
|
|
@ -531,6 +531,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 &&
|
||||
distance > _minimapDistance);
|
||||
entityInstance.CompassIcon.transform.rotation = Quaternion.Euler(0, 0, Mathf.Atan2(difference.y, difference.x) * Mathf.Rad2Deg - 90);
|
||||
|
|
@ -699,4 +700,4 @@ public class AsteroidBeltUI
|
|||
_mesh.vertices = _vertices;
|
||||
//_collider.sharedMesh = _mesh;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue