ドキュメント

Unity Engine

Download Unity

Unity Engine

IsInstanceOf(nint, nint)

Tests whether an object is an instance of a class.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

IsInstanceOf(IntPtr, IntPtr)

public static bool IsInstanceOf(nint obj, nint clazz)

Parameters

The object to test.

clazz

The class to test against.

Returns

Type

Description

boolTrue if the object is an instance of the class. Otherwise, false.

Remarks