This version of Unity is unsupported.

ContentBuildInterface.GetPlayerAssetRepresentations

Declaration

public static ObjectIdentifier[] GetPlayerAssetRepresentations(GUID asset, BuildTarget target);

Description

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

The returned objects are not loaded, and thus this method is more performant than AssetDatabase.LoadAllAssetRepresentationsAtPath.