Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetBooleanField(nint, nint)

Returns the value of an instance (nonstatic) field of an object.
Read time 1 minuteLast updated 6 days ago

Definition

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

GetBooleanField(IntPtr, IntPtr)

public static bool GetBooleanField(nint obj, nint fieldID)

Parameters

The Java object that declares the field.

fieldID

The ID of the field.

Returns

Type

Description

boolThe value of the field.

Remarks