docs.unity.cn
    Show / Hide Table of Contents

    Constructor UntypedWeakReferenceId

    UntypedWeakReferenceId(RuntimeGlobalObjectId, WeakReferenceGenerationType)

    Construct a reference given the global id and generation type.

    Declaration
    public UntypedWeakReferenceId(RuntimeGlobalObjectId globalObjId, WeakReferenceGenerationType genType)
    Parameters
    Type Name Description
    RuntimeGlobalObjectId globalObjId

    The global object id.

    WeakReferenceGenerationType genType

    The generation type.

    UntypedWeakReferenceId(Hash128, Int64, Int32, WeakReferenceGenerationType)

    Construct new UntypedWeakReferenceId.

    Declaration
    public UntypedWeakReferenceId(Hash128 guid, long localFileIdentifier, int idType, WeakReferenceGenerationType genType)
    Parameters
    Type Name Description
    Hash128 guid

    The asset guid.

    Int64 localFileIdentifier

    The object local identifier.

    Int32 idType

    The object type.

    WeakReferenceGenerationType genType

    The id generation type.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023