기술 자료

Unity Engine

Unity Engine

GetStringChars(nint)

Returns a pointer to the array of Unicode characters of the string. This pointer is valid until ReleaseStringchars() is called.
읽는 시간 1분최근 업데이트: 한 달 전

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.