文档

Unity Engine

Unity Engine

UnregisterNatives(nint)

Unregisters native methods of a class. The class goes back to the state before it was linked or registered with its native method functions.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

UnregisterNatives(IntPtr)

public static int UnregisterNatives(nint clazz)

Parameters

clazz

The Java class to unregister native methods from.

Returns

Type

Description

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

Remarks