Documentation

Unity Engine

Download Unity

Unity Engine

SetObjectArrayElement(nint, int, nint)

Sets an element of an \<tt\>Object\</tt\> array.
Read time 1 minuteLast updated a month 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