# getEntitiesForAuthoringObject

> The user-defined callback that Unity uses to retrieve the DOTS Entity IDs associated with a Unity Object.

## Definition

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

> **Warning:**
>
> **Deprecated.** Use getEntityIdsForAuthoringObject instead. This event will be removed in a future version.

```csharp
public static event Func<Object, IEnumerable<int>> getEntitiesForAuthoringObject
```
