# GetPlayerObjectIdentifiersInAsset(GUID, BuildTarget)

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

## Definition

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

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

### Parameters

**** (GUID): **** (\[BuildTarget]\(/engine/6000.3/script-reference/unityeditor/buildtarget)):&#x20;

### Returns

| Type                                                                                                  | Description |
| ----------------------------------------------------------------------------------------------------- | ----------- |
| [ObjectIdentifier\[\]](/engine/6000.3/script-reference/unityeditor/build/content/objectidentifier.md) |             |

### Remarks

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