Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NewWeakGlobalRef(nint)

Creates a new global weak reference to the object referred to by the \<tt\>obj\</tt\> argument.
Read time 1 minuteLast updated 6 hours ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

NewWeakGlobalRef(IntPtr)

public static nint NewWeakGlobalRef(nint obj)

Parameters

Returns

Type

Description

IntPtr

Remarks