private bool AddUnitToMap(Point point, Unit unit) { if (Units.Contains(point)) { Debug.LogError($"[EnvironmentManager] Units map already contains a unit in specified point {unit.name} {unit.GetPosition()}, Conflicting Unit: {Units.Get(point)} {Units.Get(point).GetPosition()}", Units.Get(point)); return(false); } Units.Add(point, unit); return(true); }