# AddMapping(string, long, ObjectIdentifier, bool)

> Adds a mapping for a single Object to where it will be serialized out to the build.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Build.Content](/engine/6000.6/script-reference/unityeditor/build/content.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public void AddMapping(string internalFileName, long serializationIndex, ObjectIdentifier objectID, bool overwrite = false)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[long]\(https\://learn.microsoft.com/dotnet/api/system.int64)): **** (\[ObjectIdentifier]\(/engine/6000.6/script-reference/unityeditor/build/content/objectidentifier)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;

### Remarks

Internal use only. See [BuildReferenceMap](/engine/6000.6/script-reference/unityeditor/build/content/buildreferencemap.md).
