C# Class Pathfinding

Inheritance: MonoBehaviour
Afficher le fichier Open project: drakelinglabs/unityarmada Class Usage Examples

Méthodes publiques

Méthode Description
StartFindPath ( Vector2 startPos, Vector2 targetPos ) : void

Private Methods

Méthode Description
Awake ( ) : void
FindPath ( Vector2 startPos, Vector2 targetPos ) : IEnumerator
GetDistance ( Node, nodeA, Node, nodeB ) : int
RetracePath ( Node, startNode, Node, endNode ) : Vector2[]
SimplifyPath ( List path ) : Vector2[]

Method Details

StartFindPath() public méthode

public StartFindPath ( Vector2 startPos, Vector2 targetPos ) : void
startPos Vector2
targetPos Vector2
Résultat void