Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetBooleanArrayElement(nint, int)

Returns the value of one element of a primitive array.
Read time 1 minuteLast updated 4 days ago

Definition

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

GetBooleanArrayElement(IntPtr, int)

public static bool GetBooleanArrayElement(nint array, int index)

Parameters

array

The Java array to read from.

index

The index of the array element.

Returns

Type

Description

boolThe value of the array element.

Remarks

This function is a special case of GetBooleanArrayRegion(), called with region size set to 1.