Class PrefabPackedIdentifiers | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PrefabPackedIdentifiers

    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.

    Inheritance
    System.Object
    PrefabPackedIdentifiers
    Namespace: UnityEditor.Build.Pipeline
    Syntax
    public class PrefabPackedIdentifiers : IDeterministicIdentifiers

    Methods

    GenerateInternalFileName(String)

    Declaration
    public string GenerateInternalFileName(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.String

    SerializationIndexFromObjectIdentifier(ObjectIdentifier)

    Declaration
    public long SerializationIndexFromObjectIdentifier(ObjectIdentifier objectID)
    Parameters
    Type Name Description
    ObjectIdentifier objectID
    Returns
    Type Description
    System.Int64
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023