Class ContentFileIdentifiers
Generates a deterministic identifier using a MD5 hash algorithm and does not require object ordering to be deterministic. This algorithm ensures objects coming from the same asset are packed closer together and can improve loading performance under certain situations. Sorts MonoScript types to the top of the file and is required when building ContentFiles.
Inherited Members
Namespace: UnityEditor.Build.Pipeline.Utilities
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
public class ContentFileIdentifiers : PrefabPackedIdentifiers, IDeterministicIdentifiers, IContextObject
Methods
SerializationIndexFromObjectIdentifier(ObjectIdentifier)
Generates a deterministic id for a given object in the build.
Declaration
public override long SerializationIndexFromObjectIdentifier(ObjectIdentifier objectID)
Parameters
Type | Name | Description |
---|---|---|
ObjectIdentifier | objectID | Object identifier to for id generation. |
Returns
Type | Description |
---|---|
long |
|