Documentation

Unity Engine

Download Unity

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.
Read time 1 minuteLast updated a month ago

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