Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetSByteArrayElement(nint, int, sbyte)

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

Definition

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

SetSByteArrayElement(IntPtr, int, sbyte)

public static void SetSByteArrayElement(nint array, int index, sbyte 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 SetByteArrayRegion(), called with region size set to 1.