Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetDoubleArrayElement(nint, int, double)

Sets the double value of one element in a primitive array.
Read time 1 minuteLast updated 4 days ago

Definition

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

SetDoubleArrayElement(IntPtr, int, double)

public static void SetDoubleArrayElement(nint array, int index, double val)

Parameters

array

The Java array to modify.

index

The index of the array element.

The value to assign to the field.

Remarks

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