public void FindPathToPos(Vector3 position) { start = AllNodes.PositionToNode(transform.position); destination = AllNodes.PositionToNode(position); AStar(); }