Fixes in Map Manager

This commit is contained in:
2022-05-05 20:45:26 +07:00
parent 2caf658d19
commit b8e8e74ab4
5 changed files with 22 additions and 21 deletions

View File

@ -5,8 +5,9 @@ public class MapManager : MonoBehaviour
{
private static MapManager instance;
public static MapManager Instance => instance;
public static List<NavPoint> NavPoints { get => navPoints; private set => navPoints = value; }
public static Dictionary<int, NavPoint> IDToNavPoint { get => iDToNavPoint; private set => iDToNavPoint = value; }
[SerializeField] static List<NavPoint> _navPoints;
public static List<NavPoint> NavPoints { get => _navPoints; private set => _navPoints = value; }
public static Dictionary<int, NavPoint> IDToNavPoint {get; private set; }
private void Awake()
{