C# Class UnityContrib.UnityEngine.NavMeshPathEx

Provides a set of helper methods for working with the T:UnityEngine.NavMeshPath class.
Afficher le fichier Open project: UnityContrib/framework

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat float