Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPlayerAssetRepresentations(GUID, BuildTarget)

Returns a list of visible objects directly contained inside of an asset.
Read time 1 minuteLast updated 9 days ago

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.