기술 자료

Unity Engine

Unity Engine

SetStringField(IntPtr, IntPtr, string)

Sets the value of an instance field of the specified object.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Parameters


fieldID


Remarks

This is a convenience function that calls SetObjectField() with the same parameters, but performs the necessary marshalling of the string value.
Additional Resources: AndroidJNI.SetObjectField.