Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

BuildReferenceMap.AddMappings

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

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

Parameters

Parameter Description
internalFileName The internal file name for the build.
objectIDs 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.

Description

Adds mappings for a set of Objects to where they will be serialized out to the build.

Internal use only. See BuildReferenceMap.