Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsSameObject(IntPtr, IntPtr)

Tests whether two references refer to the same Java object.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static bool IsSameObject(IntPtr obj1, IntPtr obj2)

Parameters

obj1


obj2

Returns

Type

Description

bool

Remarks