ドキュメント

Unity Engine

Download Unity

Unity Engine

IsAssignableFrom(nint, nint)

Determines whether an object of \<tt\>clazz1\</tt\> can be safely cast to \<tt\>clazz2\</tt\>.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

IsAssignableFrom(IntPtr, IntPtr)

public static bool IsAssignableFrom(nint clazz1, nint clazz2)

Parameters

clazz1

The class to test for assignability.

clazz2

The class to test against.

Returns

Type

Description

boolTrue if an object of the first class can be safely cast to the second. Otherwise, false.

Remarks