Made Region Serializable
This commit is contained in:
parent
6a2ddf3277
commit
0d4597c12c
@ -5,7 +5,7 @@ namespace OSMDatastructure;
|
|||||||
[Serializable]
|
[Serializable]
|
||||||
public class Region
|
public class Region
|
||||||
{
|
{
|
||||||
[NonSerialized]public const float RegionSize = 0.01f;
|
[NonSerialized]public const float RegionSize = 0.1f;
|
||||||
public readonly HashSet<OsmNode> nodes = new();
|
public readonly HashSet<OsmNode> nodes = new();
|
||||||
public ulong regionHash { get; }
|
public ulong regionHash { get; }
|
||||||
public TagManager tagManager { get; }
|
public TagManager tagManager { get; }
|
||||||
|
Reference in New Issue
Block a user