C# Class UnityContrib.UnityEngine.NavMeshPathEx

Provides a set of helper methods for working with the T:UnityEngine.NavMeshPath class.
ファイルを表示 Open project: UnityContrib/framework

Public Methods

Method Description
Distance ( this path, Vector3 start, Vector3 end ) : float

Calculates the distance between the specified start and end using the specified path.

Method Details

Distance() public static method

Calculates the distance between the specified start and end using the specified path.
public static Distance ( this path, Vector3 start, Vector3 end ) : float
path this /// The path who's distance to calculate. ///
start UnityEngine.Vector3 /// The start of the path. ///
end UnityEngine.Vector3 /// The end of the path. ///
return float