ドキュメント

Unity Engine

Download Unity

Unity Engine

SetIntArrayElement(nint, int, int)

Sets the int value of one element in a primitive array.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

SetIntArrayElement(IntPtr, int, int)

public static void SetIntArrayElement(nint array, int index, int val)

Parameters

array

The Java array to modify.

index

The index of the array element.

val

The value to assign to the field.

Remarks

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