文档

Unity Engine

Download Unity

Unity Engine

GetPlayerAssetRepresentations(GUID, BuildTarget)

Returns a list of visible objects directly contained inside of an asset.
阅读时间1 分钟最后更新于 2 个月前

Definition

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

Parameters

asset

GUID

Returns

Type

Description

ObjectIdentifier[]

Remarks

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