Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetObjectArrayElement(nint, int, nint)

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

Definition

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

SetObjectArrayElement(IntPtr, int, IntPtr)

public static void SetObjectArrayElement(nint array, int index, nint obj)

Parameters

array

The Java array to modify.

index

The index of the array element.

The value to assign to the array element.

Remarks