文档

Unity Engine

Unity Engine

SetStaticStringField(IntPtr, IntPtr, string)

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

Definition

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

Parameters

clazz


fieldID


Remarks

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