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
- Type: Method
- Namespace: UnityEditor.Build.Content
- Assembly: UnityEditor.CoreModule
public void AddMappings(string internalFileName, SerializationInfo[] objectIDs, bool overwrite = false)
Parameters
The internal file name for the build.
An array of SerializationInfo structs for the objects.
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.