Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetCharArrayElement(nint, int)

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

Definition

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

GetCharArrayElement(IntPtr, int)

public static char GetCharArrayElement(nint array, int index)

Parameters

array


index

Returns

Type

Description

char

Remarks

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