文档

Unity Engine

Download Unity

Unity Engine

SetStaticLongField(nint, nint, long)

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

Definition

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

SetStaticLongField(IntPtr, IntPtr, long)

public static void SetStaticLongField(nint clazz, nint fieldID, long val)

Parameters

clazz

The Java class that declares the static field.

fieldID

The ID of the field.

val

The value to assign to the field.

Remarks