SetObjectField(IntPtr, IntPtr, IntPtr)
Sets the value of an instance field of the specified object.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
public static void SetObjectField(IntPtr obj, IntPtr fieldID, IntPtr val)
Parameters
Remarks
The value to set is a reference to either a \<tt\>java.lang.Object\</tt\>, or a subclass thereof.
Additional Resources: Java Native Interface Specification (Oracle)