Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.