Declaración
async func FindPath(startPosition Vector3, endPosition Vector3, out var isSuccess bool, out var pathPoints List<Vector3>)
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
Start Position | Vector3 | Starting point coordinate |
End Position | Vector3 | End point coordinate |
Afuera
Nombre | Tipo | Descripción |
---|---|---|
Is Success | Bool | Whether the pathfinding path is successfully established |
Path Points | ListT_Vector3 | Path point collection |