docs.unity.cn
    Show / Hide Table of Contents

    Method CreateFromObjectInstance

    CreateFromObjectInstance(Object)

    Get a weak reference from a Unity object reference.

    Declaration
    public static UntypedWeakReferenceId CreateFromObjectInstance(Object obj)
    Parameters
    Type Name Description
    Object obj

    The object to reference.

    Returns
    Type Description
    UntypedWeakReferenceId

    The ide if the reference.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023