Documentation

Unity Engine


User Manual

Script Reference

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 5 days 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