docs.unity3d.com
Search Results for

    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, long, int, WeakReferenceGenerationType)

    Construct new UntypedWeakReferenceId.

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

    The asset guid.

    long localFileIdentifier

    The object local identifier.

    int idType

    The object type.

    WeakReferenceGenerationType genType

    The id generation type.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)