文档

Unity Engine

Unity Engine

GetPlayerObjectIdentifiersInSerializedFile(string, BuildTarget)

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

Definition

public static ObjectIdentifier[] GetPlayerObjectIdentifiersInSerializedFile(string filePath, BuildTarget target)

Parameters

filePath

The path to the serialized file.

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 serialized file.

Remarks

Internal use only. See note on ContentBuildInterface.