C# Class Pathfinding

Inheritance: MonoBehaviour
Datei anzeigen Open project: drakelinglabs/unityarmada Class Usage Examples

Public Methods

Method Description
StartFindPath ( Vector2 startPos, Vector2 targetPos ) : void

Private Methods

Method 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 method

public StartFindPath ( Vector2 startPos, Vector2 targetPos ) : void
startPos Vector2
targetPos Vector2
return void