ドキュメント

Unity Engine

Unity Engine

RegisterNatives(nint, JNINativeMethod[])

Registers native methods with the class specified by the clazz argument.
読み終わるまでの所要時間 1 分最終更新 20日前

Definition

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

RegisterNatives(IntPtr, JNINativeMethod[])

public static int RegisterNatives(nint clazz, JNINativeMethod[] methods)

Parameters

Returns

Type

Description

intZero on success, negative value on error. Falsely succeeds in Editor.

Remarks

See JNINativeMethod.fnPtr for details.