Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FromReflectedMethod(nint)

Converts a \<tt\>java.lang.reflect.Method\</tt\> or \<tt\>java.lang.reflect.Constructor\</tt\> object to a method ID.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

FromReflectedMethod(IntPtr)

public static nint FromReflectedMethod(nint refMethod)

Parameters

refMethod

The java.lang.reflect.Method or java.lang.reflect.Constructor object to convert.

Returns

Type

Description

IntPtrThe corresponding method ID.

Remarks