Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetShortArrayElement(IntPtr, int, short)

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static void SetShortArrayElement(IntPtr array, int index, short val)

Parameters

array


index


Remarks

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