---
title: UpdatePositions()
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/ai/offmeshlink/updatepositions
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/ai/offmeshlink/updatepositions.md
last_updated: 2026-10-07
generated_at: 2026-11-12T23:48:49.560Z
locale: en-us
---

# UpdatePositions()

> Explicitly update the link endpoints.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.AI](/engine/7000.0/script-reference/unityengine/ai.md)
* **Assembly:** UnityEngine.AIModule

> **Warning:**
>
> **Deprecated.** UpdatePositions() has been deprecated together with the class. Declare the object as NavMeshLink and use UpdateLink() instead.

```csharp
public void UpdatePositions()
```

### Remarks

Updates the OffMeshLink endpoints to match the transforms specified by the start and end transforms.
