文档

Unity Engine

Unity Engine

SetStringField(IntPtr, IntPtr, string)

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

Definition

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.