文档

Unity Engine

Unity Engine

UnregisterNatives(IntPtr)

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
public static int UnregisterNatives(IntPtr clazz)

Parameters

clazz

Returns

Type

Description

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

Remarks