文档

Unity Engine

Unity Engine

IsSameObject(nint, nint)

Tests whether two references refer to the same Java object.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

IsSameObject(IntPtr, IntPtr)

public static bool IsSameObject(nint obj1, nint obj2)

Parameters

obj1


obj2

Returns

Type

Description

bool

Remarks