Documentation

Unity Engine

Download Unity

Unity Engine

GetArrayLength(nint)

Returns the number of elements in the array.
Read time 1 minuteLast updated a month 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