Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddMappings(string, SerializationInfo[], bool)

Adds mappings for a set of Objects to where they will be serialized out to the build.
Read time 1 minuteLast updated 10 days ago

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.