Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DetachCurrentThread()

Detaches the current thread from a Java (Dalvik) VM.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static int DetachCurrentThread()

Returns

Type

Description

int

Remarks

A thread must be detached from the VM before exiting.