Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetObjectArrayElement(nint, int)

Returns an element of an \<tt\>Object\</tt\> array.
Read time 1 minuteLast updated 6 days ago

Definition

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

GetObjectArrayElement(IntPtr, int)

public static nint GetObjectArrayElement(nint array, int index)

Parameters

array

The Java array to read from.

index

The index of the array element.

Returns

Type

Description

IntPtrThe value of the array element.

Remarks