文档

Unity Engine

Unity Engine

SetShortArrayElement(nint, int, short)

Sets the short value of one element in a primitive array.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

SetShortArrayElement(IntPtr, int, short)

public static void SetShortArrayElement(nint array, int index, short val)

Parameters

array


index


Remarks

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