文档

Unity Engine

Unity Engine

AddMappings(string, SerializationInfo[], bool)

Adds mappings for a set of Objects to where they will be serialized out to the build.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void AddMappings(string internalFileName, SerializationInfo[] objectIDs, bool overwrite = false)

Parameters

internalFileName

The internal file name for the build.

An array of SerializationInfo structs for the objects.

overwrite

If true, any existing mapping for the objects is overwritten. If false, an exception is thrown if a mapping already exists for any of the objects.

Remarks

Internal use only. See BuildReferenceMap.