文档

Unity Engine

Unity Engine

GetStringChars(IntPtr)

Returns a pointer to the array of Unicode characters of the string. This pointer is valid until ReleaseStringchars() is called.
阅读时间1 分钟最后更新于 1 天前

Definition

public static string GetStringChars(IntPtr 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.