GetPlayerAssetRepresentations(GUID, BuildTarget)
Returns a list of visible objects directly contained inside of an asset.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Build.Content
- Assembly: UnityEditor.CoreModule
public static ObjectIdentifier[] GetPlayerAssetRepresentations(GUID asset, BuildTarget target)
Parameters
Returns
Type | Description |
|---|---|
| ObjectIdentifier[] |
Remarks
The returned objects are not loaded, and thus this method is more performant than AssetDatabase.LoadAllAssetRepresentationsAtPath.