Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NewWeakGlobalRef(IntPtr)

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static IntPtr NewWeakGlobalRef(IntPtr obj)

Parameters

Returns

Type

Description

IntPtr

Remarks