文档

Unity Engine

Unity Engine

SetObjectArrayElement(nint, int, nint)

Sets an element of an \<tt\>Object\</tt\> array.
阅读时间1 分钟最后更新于 1 个月前

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