Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 4 days ago

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