ドキュメント

Unity Engine

Unity Engine

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

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

Parameters

internalFileName

The internal file name for the build.

serializationIndex

The serialization index for the object.

The ObjectIdentifier for the object.

overwrite

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.