Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NewBooleanArray(int)

Constructs a new primitive array object.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static nint NewBooleanArray(int size)

Parameters

size

The number of elements in the array to construct.

Returns

Type

Description

IntPtrA local reference to the newly constructed Java array.

Remarks