Various Improvements & Fixes

Map icons now have a constant size independent of zoom level
Galaxy Map now displays zone properties when clicking on a zone
Zone generator now uses half of nebula density, means smaller and more varied zones
Stations will refuse docking to entities with insufficient clearance
This commit is contained in:
Reinier Vens 2021-05-12 00:15:11 +01:00
commit 122e929214
25 changed files with 801 additions and 621 deletions

View file

@ -9,6 +9,7 @@ using TMPro;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.UI;
using UniRx;
public class ConfirmationDialog : PropertiesPanel
{
@ -29,11 +30,10 @@ public class ConfirmationDialog : PropertiesPanel
Cancel.onClick.AddListener(() => End());
Confirm.onClick.AddListener(() => End(true));
if (CancelClickCatcher != null)
CancelClickCatcher.OnClick += data =>
CancelClickCatcher.OnClick.Subscribe(data =>
{
if (LockDialog) return;
End();
};
if (!LockDialog) End();
});
OnPropertyAdded += go =>
{