文档

Unity Engine

Unity Engine

SetObjectField(IntPtr, IntPtr, IntPtr)

Sets the value of an instance field of the specified object.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static void SetObjectField(IntPtr obj, IntPtr fieldID, IntPtr val)

Parameters


fieldID


Remarks

The value to set is a reference to either a \<tt\>java.lang.Object\</tt\>, or a subclass thereof.