Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetArrayLength(nint)

Returns the number of elements in the array.
Read time 1 minuteLast updated 7 days ago

Definition

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

GetArrayLength(IntPtr)

public static int GetArrayLength(nint array)

Parameters

array

The Java array whose length is returned.

Returns

Type

Description

intThe number of elements in the array.

Remarks