Query observed run zone explicitly
This commit is contained in:
parent
2cc4598915
commit
09389d9e68
4 changed files with 14 additions and 10 deletions
|
|
@ -225,7 +225,7 @@ public class SectorRenderer : MonoBehaviour, IBeginDragHandler, IDragHandler, IS
|
|||
{
|
||||
_init = true;
|
||||
SectorCamera.gameObject.SetActive(true);
|
||||
var currentZone = GameManager.CurrentDaemonGalaxyZone;
|
||||
GameManager.TryGetObservedRunZone(out var currentZone);
|
||||
_position = currentZone?.Position ?? float2.zero;
|
||||
_viewSize = .25f;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue