Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetByteArrayElement(nint, int, sbyte)

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

Definition

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

SetByteArrayElement(IntPtr, int, sbyte)

Warning
Deprecated. AndroidJNI.SetByteArrayElement is obsolete. Use AndroidJNI.SetSByteArrayElement method instead
public static void SetByteArrayElement(nint array, int index, sbyte val)

Parameters

array


index


Remarks

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