# GetStorageInfoFromEntity()

> Obsolete. Use SystemBase.GetEntityStorageInfoLookup() instead.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

> **Warning:**
>
> **Removed.** This method has been renamed to GetEntityStorageInfoLookup. (RemovedAFter Entities 1.0)

```csharp
public EntityStorageInfoLookup GetStorageInfoFromEntity()
```

### Returns

| Type                                                                                                 | Description                                                                                       |
| ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [EntityStorageInfoLookup](/engine/7000.0/script-reference/unity/entities/entitystorageinfolookup.md) | True if the given entity exists or the entity has a Cleanup Component that is yet to be destroyed |
