# GetAddedGameObjects(GameObject)

> Retrieves a list of AddedGameObject objects which contain information about added GameObjects on the Prefab instance.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static List<AddedGameObject> GetAddedGameObjects(GameObject prefabInstance)
```

### Parameters

**** (\[GameObject]\(/engine/6000.7/script-reference/unityengine/gameobject)): The Prefab instance to get information about.

### Returns

| Type                                                                                               | Description                                               |
| -------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
| [List\<AddedGameObject>](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1) | List of objects with information about added GameObjects. |
