AddMapping(string, long, ObjectIdentifier, bool)
Adds a mapping for a single Object to where it will be serialized out to the build.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Build.Content
- Assembly: UnityEditor.CoreModule
public void AddMapping(string internalFileName, long serializationIndex, ObjectIdentifier objectID, bool overwrite = false)
Parameters
The internal file name for the build.
The serialization index for the object.
The ObjectIdentifier for the object.
If true, any existing mapping for the object is overwritten. If false, an exception is thrown if a mapping already exists for the object.
Remarks
Internal use only. See BuildReferenceMap.