Version: 2020.3

ContentBuildInterface.GetPlayerAssetRepresentations

切换到手册
public static ObjectIdentifier[] GetPlayerAssetRepresentations (GUID asset, BuildTarget target);

描述

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.