Interface IDeterministicIdentifiers | Scriptable Build Pipeline | 1.7.3
docs.unity.cn
    Show / Hide Table of Contents

    Interface IDeterministicIdentifiers

    Base interface for the generating deterministic identifiers for different parts of the build pipeline.

    Namespace: UnityEditor.Build.Pipeline.Interfaces
    Syntax
    public interface IDeterministicIdentifiers : IContextObject

    Methods

    GenerateInternalFileName(String)

    Generates a deterministic internal file name from the passed in name.

    Declaration
    string GenerateInternalFileName(string name)
    Parameters
    Type Name Description
    String name

    Name identifier for internal file name generation

    Returns
    Type Description
    String

    Deterministic file name.

    SerializationIndexFromObjectIdentifier(ObjectIdentifier)

    Generates a deterministic id for a given object in the build.

    Declaration
    long SerializationIndexFromObjectIdentifier(ObjectIdentifier objectID)
    Parameters
    Type Name Description
    ObjectIdentifier objectID

    Object identifier to for id generation.

    Returns
    Type Description
    Int64

    long representing the id of the objectID.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX