fnPtr
The pointer to the native function that is called from the Java code.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
public nint fnPtr
Remarks
Obtain this pointer by calling , where the delegate refers to a method annotated with attribute. The method must have the signature:
Marshal.GetFunctionPointerForDelegateMonoPInvokeCallbackstatic ReturnType MyMethod(IntPtr jniEnv, IntPtr objectOrClass, ...);