Declaration
async func FindPath(startPosition Vector3, endPosition Vector3, out var isSuccess bool, out var pathPoints List<Vector3>)
go
Parameters
Input
Name | Type | Description |
---|---|---|
Start Position | Vector3 | Starting point coordinate |
End Position | Vector3 | End point coordinate |
Out
Name | Type | Description |
---|---|---|
Is Success | Bool | Whether the pathfinding path is successfully established |
Path Points | ListT_Vector3 | Path point collection |