文档

Unity Engine

Unity Engine

GetPlayerObjectIdentifiersInAsset(GUID, BuildTarget)

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

Definition

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

Parameters

asset

GUID
The GUID of the asset.

The build target to get the object identifiers for.

Returns

Type

Description

ObjectIdentifier[]An array of ObjectIdentifier structs for the objects directly contained inside the asset.

Remarks

Internal use only. See note on ContentBuildInterface.