# Connection

> A pair of from and to indices describing what thing keeps what other thing alive.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.MemoryProfiler](/engine/6000.3/script-reference/unityeditor/memoryprofiler.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Deprecated.** This API is outdated and will be removed. Please check out the Memory Profiler Package ([https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/](https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/))

```csharp
public struct Connection
```

## Remarks

The indicies index into a virtual list of all GC handles, followed by all native objects.

## Properties

| Property                                                                              | Description                                                                  |
| ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| [from](/engine/6000.3/script-reference/unityeditor/memoryprofiler/connection/from.md) | Index into a virtual list of all GC handles, followed by all native objects. |
| [to](/engine/6000.3/script-reference/unityeditor/memoryprofiler/connection/to.md)     | Index into a virtual list of all GC handles, followed by all native objects. |
