ドキュメント

Unity Engine

Download Unity

Unity Engine

GetMethodID(nint, string, string)

Returns the method ID for an instance (nonstatic) method of a class or interface.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

GetMethodID(IntPtr, string, string)

public static nint GetMethodID(nint clazz, string name, string sig)

Parameters

clazz

The Java class to scan.

name

The name of the method, as declared in Java.

The JNI method signature.

Returns

Type

Description

IntPtrThe method ID, or zero if the method couldn't be found.

Remarks