Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NewLocalRef(nint)

Creates a new local reference that refers to the same object as \<tt\>obj\</tt\>.
Read time 1 minuteLast updated 5 hours ago

Definition

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

NewLocalRef(IntPtr)

public static nint NewLocalRef(nint obj)

Parameters

Returns

Type

Description

IntPtr

Remarks