ドキュメント

Unity Engine

Unity Engine

SetStaticStringField(nint, nint, string)

Sets the value of a static field in the specified object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

SetStaticStringField(IntPtr, IntPtr, string)

public static void SetStaticStringField(nint clazz, nint 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.