public static CalculatePath ( |
||
sourcePosition | ||
targetPosition | ||
areaMask | int | |
path | ||
return | bool |
public static bool CalculatePath(Vector3 sourcePosition, Vector3 targetPosition, int areaMask, NavMeshPath path)
{
path.ClearCorners();
return CalculatePathInternal(sourcePosition, targetPosition, areaMask, path);
}