mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-26 14:00:17 +00:00
...
This commit is contained in:
parent
6f866fa750
commit
b62e786dad
2 changed files with 2 additions and 7 deletions
|
@ -430,7 +430,7 @@ namespace SanAndreasUnity.Behaviours
|
|||
|
||||
private static void StepLoadPaths()
|
||||
{
|
||||
Importing.Paths.NodeReader.StepLoadPaths();
|
||||
Importing.Paths.NodeReader.Load();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ namespace SanAndreasUnity.Importing.Paths
|
|||
{
|
||||
public static List<NodeFile> Nodes { get; set; }
|
||||
public static float[][] Borders { get; private set; }
|
||||
public static void StepLoadPaths()
|
||||
public static void Load()
|
||||
{
|
||||
int row;
|
||||
int col;
|
||||
|
@ -302,10 +302,5 @@ namespace SanAndreasUnity.Importing.Paths
|
|||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static int GetAreaFromPosition(UnityEngine.Vector2 position)
|
||||
{
|
||||
return GetAreaFromPosition(new UnityEngine.Vector3(position.x, 0.0f, position.y));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue