Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetStaticBooleanField(nint, nint, bool)

Sets the value of a static field in the specified object.
Read time 1 minuteLast updated 4 days ago

Definition

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

SetStaticBooleanField(IntPtr, IntPtr, bool)

public static void SetStaticBooleanField(nint clazz, nint fieldID, bool 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