文档

Unity Engine

Unity Engine

SetBooleanField(nint, nint, bool)

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

Definition

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

SetBooleanField(IntPtr, IntPtr, bool)

public static void SetBooleanField(nint obj, nint fieldID, bool val)

Parameters

The Java object that declares the field.

fieldID

The ID of the field.

val

The value to assign to the field.

Remarks