文档

Unity Engine

Unity Engine

RegisterNatives(IntPtr, JNINativeMethod[])

Registers native methods with the class specified by the clazz argument.
阅读时间1 分钟最后更新于 2 天前

Definition

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

Parameters

Returns

Type

Description

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

Remarks