ドキュメント

Unity Engine

Download Unity

Unity Engine

GetCharArrayElement(nint, int)

Returns the value of one element of a primitive array.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

GetCharArrayElement(IntPtr, int)

public static char GetCharArrayElement(nint array, int index)

Parameters

array

The Java array to read from.

index

The index of the array element.

Returns

Type

Description

charThe value of the array element.

Remarks

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