Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetStringChars(nint)

Returns a pointer to the array of Unicode characters of the string. This pointer is valid until ReleaseStringchars() is called.
Read time 1 minuteLast updated 15 hours ago

Definition

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

GetStringChars(IntPtr)

public static string GetStringChars(nint str)

Parameters

Returns

Type

Description

string

Remarks

This method is a modification of the original \<tt\>GetStringChars\</tt\>, which returns a pointer to an array of bytes.