forked from bit/DotRecastNetSim
parent
ea50e16a80
commit
9c6ddfffe0
|
@ -48,8 +48,7 @@ namespace DotRecast.Detour.Extras.Unity.Astar
|
|||
int nodeCount = graphMeshData.CountNodes();
|
||||
if (connections.Count != nodeCount)
|
||||
{
|
||||
throw new ArgumentException("Inconsistent number of nodes in data file: " + nodeCount
|
||||
+ " and connecton files: " + connections.Count);
|
||||
throw new ArgumentException($"Inconsistent number of nodes in data file: {nodeCount} and connection files: {connections.Count}");
|
||||
}
|
||||
|
||||
// Build BV tree
|
||||
|
|
Loading…
Reference in New Issue