Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetLongArrayElement(nint, int)

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

Definition

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

GetLongArrayElement(IntPtr, int)

public static long GetLongArrayElement(nint array, int index)

Parameters

array


index

Returns

Type

Description

long

Remarks

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