# GetPlayerObjectIdentifiersInAsset(GUID, BuildTarget)

> Obtains a list of objects directly contained inside of an asset.

## Definition

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

```csharp
public static ObjectIdentifier[] GetPlayerObjectIdentifiersInAsset(GUID asset, BuildTarget target)
```

### Parameters

**** (GUID): The GUID of the asset.**** (\[BuildTarget]\(/engine/6000.7/script-reference/unityeditor/buildtarget)): The build target to get the object identifiers for.

### Returns

| Type                                                                                                  | Description                                                                               |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| [ObjectIdentifier\[\]](/engine/6000.7/script-reference/unityeditor/build/content/objectidentifier.md) | An array of ObjectIdentifier structs for the objects directly contained inside the asset. |

### Remarks

Internal use only. See note on [ContentBuildInterface](/engine/6000.7/script-reference/unityeditor/build/content/contentbuildinterface.md).
